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

C / C++ / MFC

 
AnswerRe: Free Windows equivalent of syslog? Pin
bikram singh16-Aug-04 9:19
bikram singh16-Aug-04 9:19 
GeneralRe: Free Windows equivalent of syslog? Pin
hyling16-Aug-04 10:40
hyling16-Aug-04 10:40 
QuestionHow can I create a child window that does NOT cliped by its parent window? Pin
Behzad Ebrahimi16-Aug-04 6:53
Behzad Ebrahimi16-Aug-04 6:53 
GeneralNo one can help me out there? :( Pin
gangelo16-Aug-04 6:33
gangelo16-Aug-04 6:33 
GeneralRe: No one can help me out there? :( Pin
David Crow16-Aug-04 8:33
David Crow16-Aug-04 8:33 
GeneralRe: No one can help me out there? :( Pin
Anonymous16-Aug-04 8:55
Anonymous16-Aug-04 8:55 
GeneralRe: No one can help me out there? :( Pin
David Crow16-Aug-04 9:00
David Crow16-Aug-04 9:00 
GeneralCorrect way to automatically run code when dialog initializes Pin
shultas16-Aug-04 5:30
shultas16-Aug-04 5:30 
Hello all.

I've developed this helper application that helps me to rename files. I have a main dialog that has a "Begin" button on it. When you press the begin button, it calls another dialog's .DoModal() method.

When the "helper" dialog loads, I want to automatically run code that begins to search the folders and populates a listbox.

I've tried to put a call to the method in my helper dialog class that does the processing in the OnInitDialog() method, but this does not work. Instead, it just hangs there until the call is completed (never displays the dialog).

The only other way that I've found around this is to create a new thread using AfxBeginThread. This works fine but I'm just curious as to is this the proper way to do this ... or if there is some other method of running code when a dialog starts up. (ie, the code that I want to run actually populates a list box on the dialog, etc...)

Thanks in advance

Shultas
GeneralRe: Correct way to automatically run code when dialog initializes Pin
David Crow16-Aug-04 5:53
David Crow16-Aug-04 5:53 
GeneralCode executing that should be Pin
BlackDice16-Aug-04 5:19
BlackDice16-Aug-04 5:19 
GeneralRe: Code executing that should be Pin
Moak16-Aug-04 5:26
Moak16-Aug-04 5:26 
GeneralRe: Code executing that should be Pin
BlackDice16-Aug-04 5:36
BlackDice16-Aug-04 5:36 
GeneralOpen a USB - Port Pin
postamt16-Aug-04 4:16
postamt16-Aug-04 4:16 
GeneralRe: Open a USB - Port Pin
Cedric Moonen16-Aug-04 22:12
Cedric Moonen16-Aug-04 22:12 
GeneralSniffer design Pin
A Khan16-Aug-04 3:45
sussA Khan16-Aug-04 3:45 
GeneralRe: Sniffer design Pin
Ravi Bhavnani16-Aug-04 4:11
professionalRavi Bhavnani16-Aug-04 4:11 
GeneralRe: Sniffer design Pin
Antony M Kancidrowski16-Aug-04 4:33
Antony M Kancidrowski16-Aug-04 4:33 
GeneralTrouble Setting a KEEPALIVE Socket Option with WinSock Pin
jerry1211a16-Aug-04 3:27
jerry1211a16-Aug-04 3:27 
GeneralModal dialog coordinates Pin
Johnny Peszek16-Aug-04 2:53
Johnny Peszek16-Aug-04 2:53 
GeneralRe: Modal dialog coordinates Pin
Ravi Bhavnani16-Aug-04 3:42
professionalRavi Bhavnani16-Aug-04 3:42 
GeneralRe: Modal dialog coordinates Pin
Johnny Peszek16-Aug-04 5:47
Johnny Peszek16-Aug-04 5:47 
GeneralRe: Modal dialog coordinates Pin
David Crow16-Aug-04 3:52
David Crow16-Aug-04 3:52 
GeneralRe: Modal dialog coordinates Pin
Johnny Peszek16-Aug-04 5:48
Johnny Peszek16-Aug-04 5:48 
GeneralProblems with 256 color toolbar and theme engine Pin
RunninRS16-Aug-04 2:07
RunninRS16-Aug-04 2:07 
GeneralRe: Problems with 256 color toolbar and theme engine Pin
Antony M Kancidrowski16-Aug-04 2:31
Antony M Kancidrowski16-Aug-04 2: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.