Click here to Skip to main content
16,006,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: converting char to wchar Pin
paulb16-Nov-03 18:06
paulb16-Nov-03 18:06 
GeneralRe: converting char to wchar Pin
Mike Dimmick17-Nov-03 0:41
Mike Dimmick17-Nov-03 0:41 
GeneralRe: converting char to wchar Pin
Uma Mahes16-Nov-03 17:58
Uma Mahes16-Nov-03 17:58 
GeneralRe: converting char to wchar Pin
georgiek5016-Nov-03 18:11
georgiek5016-Nov-03 18:11 
GeneralRe: converting char to wchar Pin
Michael Dunn16-Nov-03 18:36
sitebuilderMichael Dunn16-Nov-03 18:36 
GeneralHooking modal Windows Pin
slrao16-Nov-03 17:26
slrao16-Nov-03 17:26 
GeneralDialog windows -- where does the application code go Pin
Dave Sweetser16-Nov-03 16:35
Dave Sweetser16-Nov-03 16:35 
GeneralRe: Dialog windows -- where does the application code go Pin
Prakash Nadar16-Nov-03 16:58
Prakash Nadar16-Nov-03 16:58 
Well mate, i had a similar problem when i moved from dos based programing to windows type programming....
In windows you have created a dialog app, so you do need to responde to messages to get you job done effectivly, else i can only say that your code will become very inefficient.
You cant have a continouse loop waiting for the keypress by the user to terminate the application....like we did in dos programs.
the loop is there but it is called as the message loop. you can add your code in the message pump loop, but still again its inefficient.

You can setup a timer and respond to the timer every now n then. or you can handle the OnIdle event to do things that you would like to do. but you should not lock up that event,i.e return back as soon as possible.

Summury:You need to change the design of your application when making a moveing to windows.

hope i helped you someway.
regards
Prakash.

The World is getting smaller and so are the people.
GeneralRe: Dialog windows -- where does the application code go Pin
Dave Sweetser16-Nov-03 17:18
Dave Sweetser16-Nov-03 17:18 
GeneralRe: Dialog windows -- where does the application code go Pin
Prakash Nadar16-Nov-03 17:30
Prakash Nadar16-Nov-03 17:30 
GeneralRe: Dialog windows -- where does the application code go Pin
PJ Arends16-Nov-03 19:06
professionalPJ Arends16-Nov-03 19:06 
GeneralRe: Dialog windows -- where does the application code go Pin
David Crow17-Nov-03 4:38
David Crow17-Nov-03 4:38 
GeneralRe: Dialog windows -- where does the application code go Pin
Mike Danberg17-Nov-03 10:20
Mike Danberg17-Nov-03 10:20 
GeneralRe: Dialog windows -- where does the application code go Pin
Mike Danberg17-Nov-03 11:43
Mike Danberg17-Nov-03 11:43 
General.NET issue Pin
kjessee16-Nov-03 15:32
kjessee16-Nov-03 15:32 
GeneralRe: .NET issue Pin
Christian Graus16-Nov-03 16:12
protectorChristian Graus16-Nov-03 16:12 
GeneralRe: .NET issue Pin
kjessee16-Nov-03 16:20
kjessee16-Nov-03 16:20 
GeneralRe: .NET issue Pin
Christian Graus16-Nov-03 16:28
protectorChristian Graus16-Nov-03 16:28 
GeneralRe: .NET issue Pin
Prakash Nadar16-Nov-03 17:24
Prakash Nadar16-Nov-03 17:24 
GeneralRe: .NET issue Pin
kjessee16-Nov-03 21:55
kjessee16-Nov-03 21:55 
Questionwhere's main() ??? Pin
Dave Sweetser16-Nov-03 14:10
Dave Sweetser16-Nov-03 14:10 
AnswerRe: where's main() ??? Pin
Ravi Bhavnani16-Nov-03 14:22
professionalRavi Bhavnani16-Nov-03 14:22 
GeneralRe: where's main() ??? Pin
Dave Sweetser16-Nov-03 14:34
Dave Sweetser16-Nov-03 14:34 
GeneralRe: where's main() ??? Pin
Ravi Bhavnani16-Nov-03 15:00
professionalRavi Bhavnani16-Nov-03 15:00 
GeneralRe: where's main() ??? Pin
Dave Sweetser16-Nov-03 15:22
Dave Sweetser16-Nov-03 15:22 

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.