Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where is Tray[notification] Icon Position? Pin
Behzad Ebrahimi2-Jun-03 13:41
Behzad Ebrahimi2-Jun-03 13:41 
GeneralMxing MFC client with ATL DLL (CString) Pin
Peter Weyzen2-Jun-03 12:49
Peter Weyzen2-Jun-03 12:49 
GeneralRe: Mxing MFC client with ATL DLL (CString) Pin
Peter Weyzen3-Jun-03 12:01
Peter Weyzen3-Jun-03 12:01 
GeneralSTL vector Pin
Greg232342-Jun-03 11:50
sussGreg232342-Jun-03 11:50 
GeneralRe: STL vector Pin
Neville Franks2-Jun-03 12:11
Neville Franks2-Jun-03 12:11 
GeneralRe: STL vector Pin
Mike Nordell2-Jun-03 22:18
Mike Nordell2-Jun-03 22:18 
GeneralDialog App Question Pin
Tom Wright2-Jun-03 11:20
Tom Wright2-Jun-03 11:20 
GeneralRe: Dialog App Question Pin
abc8762-Jun-03 11:40
abc8762-Jun-03 11:40 
Tom Wright wrote:
So If I want to run a function, without an event calling it like for a button, then I need to create a message map and call it.....right?

No not right. If your function is not an event handler, then y do u need to use message maps for it? u can simply call it like any other function in C++.


Tom Wright wrote:
My problem is that my function runs first then the main dialog window comes up. So how can I by pass this?

To make sure that your dialog comes up first and your function is called next. Call your function in InitDialog() function after the call of base class InitDialog function call,instead of constructor for CDialog.

cheers


Muhammad Shoaib Khan
http://geocities.com/lansolution
GeneralRe: Dialog App Question Pin
Tom Wright2-Jun-03 12:03
Tom Wright2-Jun-03 12:03 
GeneralRe: Dialog App Question Pin
Tom Wright2-Jun-03 12:04
Tom Wright2-Jun-03 12:04 
GeneralRe: Dialog App Question Pin
User 66582-Jun-03 11:47
User 66582-Jun-03 11:47 
GeneralRe: Dialog App Question Pin
Tom Wright2-Jun-03 11:56
Tom Wright2-Jun-03 11:56 
GeneralRe: Dialog App Question Pin
User 66582-Jun-03 12:42
User 66582-Jun-03 12:42 
GeneralRe: Dialog App Question Pin
Tom Wright2-Jun-03 12:21
Tom Wright2-Jun-03 12:21 
GeneralRe: Dialog App Question Pin
sunjohn2-Jun-03 18:44
sunjohn2-Jun-03 18:44 
GeneralDisplaying time for different time zones Pin
dennisV2-Jun-03 10:50
dennisV2-Jun-03 10:50 
GeneralRe: Displaying time for different time zones Pin
David Chamberlain3-Jun-03 3:56
David Chamberlain3-Jun-03 3:56 
GeneralRe: Displaying time for different time zones Pin
dennisV3-Jun-03 6:51
dennisV3-Jun-03 6:51 
GeneralRe: Displaying time for different time zones Pin
David Chamberlain3-Jun-03 7:10
David Chamberlain3-Jun-03 7:10 
GeneralRe: Displaying time for different time zones Pin
dennisV3-Jun-03 7:21
dennisV3-Jun-03 7:21 
Generalcreating a header blueprint that will be written to memory Pin
johnstonsk2-Jun-03 10:41
johnstonsk2-Jun-03 10:41 
General.rc files and encoding Pin
Jon Sagara2-Jun-03 10:09
Jon Sagara2-Jun-03 10:09 
GeneralCMenu question Pin
Anonymous2-Jun-03 9:59
Anonymous2-Jun-03 9:59 
GeneralRe: CMenu question Pin
Maximilien2-Jun-03 10:08
Maximilien2-Jun-03 10:08 
GeneralSerial Communication Problem Pin
GeneMcAulpin2-Jun-03 9:40
GeneMcAulpin2-Jun-03 9:40 

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.