Click here to Skip to main content
15,896,502 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalreading a text file Pin
VC++ Beginner13-Aug-03 2:28
VC++ Beginner13-Aug-03 2:28 
GeneralRe: reading a text file Pin
Anonymous13-Aug-03 2:52
Anonymous13-Aug-03 2:52 
GeneralRe: reading a text file Pin
Andrew Walker13-Aug-03 3:28
Andrew Walker13-Aug-03 3:28 
GeneralRe: reading a text file Pin
keegan13-Aug-03 3:34
keegan13-Aug-03 3:34 
GeneralRe: reading a text file Pin
David Crow13-Aug-03 5:36
David Crow13-Aug-03 5:36 
QuestionSendMessage??? Pin
_skidrow_vn_13-Aug-03 2:24
_skidrow_vn_13-Aug-03 2:24 
AnswerRe: SendMessage??? Pin
Florin Ochiana13-Aug-03 3:39
Florin Ochiana13-Aug-03 3:39 
GeneralRe: SendMessage??? Pin
jhwurmbach13-Aug-03 3:55
jhwurmbach13-Aug-03 3:55 
Florin Ochiana wrote:
SendMessage(999)

Eek! | :eek: Dead | X|
At least try something like
#define MAGIC_MESSAGE WM_APP+99
(or some other number)
ON_MESSAGE(MAGIC_MESSAGE,OnEndlabeledList)
...
SendMessage(MAGIC_MESSAGE);

MSDN states:
Message numbers in the first range (0 through WM_USER – 1) 
are defined by the system. Values in this range that are not explicitly 
defined are reserved for future use by the system. 
WM_USER is defined to be 0x400, so that your value of 0x3E7 (deimal 999) would send some message you did never intend to send to your window.



Who is 'General Failure'? And why is he reading my harddisk?!?
AnswerRe: SendMessage??? Pin
Navin13-Aug-03 3:44
Navin13-Aug-03 3:44 
Generalinitialization of code in CWinApp Pin
pdunn13-Aug-03 1:32
pdunn13-Aug-03 1:32 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 2:34
jhwurmbach13-Aug-03 2:34 
GeneralRe: initialization of code in CWinApp Pin
pdunn13-Aug-03 2:58
pdunn13-Aug-03 2:58 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 3:29
jhwurmbach13-Aug-03 3:29 
GeneralRe: initialization of code in CWinApp Pin
pdunn14-Aug-03 4:22
pdunn14-Aug-03 4:22 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach14-Aug-03 4:38
jhwurmbach14-Aug-03 4:38 
GeneralNetwork Discovery & Remote execute Pin
maranv13-Aug-03 0:06
maranv13-Aug-03 0:06 
GeneralRe: Network Discovery & Remote execute Pin
Steve S13-Aug-03 0:10
Steve S13-Aug-03 0:10 
GeneralRe: Network Discovery & Remote execute Pin
maranv17-Aug-03 16:05
maranv17-Aug-03 16:05 
GeneralRe: Network Discovery & Remote execute Pin
David Crow13-Aug-03 5:40
David Crow13-Aug-03 5:40 
GeneralStandalone in place CEdit - Thanks to all Pin
Neville Franks12-Aug-03 23:43
Neville Franks12-Aug-03 23:43 
GeneralRe: Standalone in place CEdit - Thanks to all Pin
jhwurmbach13-Aug-03 2:31
jhwurmbach13-Aug-03 2:31 
GeneralRe: Standalone in place CEdit - Thanks to all Pin
Neville Franks13-Aug-03 6:35
Neville Franks13-Aug-03 6:35 
GeneralSorting Utility Pin
RChin12-Aug-03 23:32
RChin12-Aug-03 23:32 
GeneralNeed more details... Pin
Kochise13-Aug-03 0:23
Kochise13-Aug-03 0:23 
GeneralRe: Need more details... Pin
RChin13-Aug-03 0:31
RChin13-Aug-03 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.