Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check the config Pin
sunit530-Dec-05 3:18
sunit530-Dec-05 3:18 
QuestionHow help file(.hlp) can be integrated in my program Pin
mikobi30-Dec-05 1:46
mikobi30-Dec-05 1:46 
QuestionOLE 2.0 DB Problem Pin
ShelJo30-Dec-05 1:39
ShelJo30-Dec-05 1:39 
QuestionTo open com port thrugh window CE emulator Pin
birajendu30-Dec-05 1:25
birajendu30-Dec-05 1:25 
QuestionCustom Caption in XP Pin
Dave Regan30-Dec-05 1:25
Dave Regan30-Dec-05 1:25 
AnswerRe: Custom Caption in XP Pin
Owner drawn30-Dec-05 1:33
Owner drawn30-Dec-05 1:33 
QuestionPrint Preview Architecutre Pin
Identity Undisclosed30-Dec-05 1:22
Identity Undisclosed30-Dec-05 1:22 
Questionplz help me out Pin
whizano30-Dec-05 1:21
whizano30-Dec-05 1:21 
hi..,Big Grin | :-D a happy n prosperous new year..,
my app makes use of ShellExecuteEx to run an initializing process(on OnInitInstance). It takes some 5 to 7 seconds to finish, so i spawn a thread which has a progressbar which steps for 7 secs. my app WaitForSingleInstance till the Delay(Progress)Dlg PostQuitMessage. Then it doModals the main dlg.
Its all workin fine but when my main dlg is shown, it loses focus. I've tried setActivewnd, setforegrndwnd, setfocus, etc. on the InitInstance of my main dlg. i wanna kno how i can bring da dlg to the foregrnd.
also on enter/esc key press the app exits, its the OnOK() OnCancel(), nope? can i prevent this by a do nothin override?

thanks,
-- ano
AnswerRe: plz help me out Pin
Owner drawn30-Dec-05 1:36
Owner drawn30-Dec-05 1:36 
Generalits lik dis Pin
whizano30-Dec-05 20:41
whizano30-Dec-05 20:41 
QuestionHow to find whether a cable is connected to USB port? Pin
call_v_s30-Dec-05 1:12
call_v_s30-Dec-05 1:12 
AnswerRe: How to find whether a cable is connected to USB port? Pin
John R. Shaw31-Dec-05 19:14
John R. Shaw31-Dec-05 19:14 
QuestionDynamic adding of controls to CDialog-based class (MFC) Pin
mankeyrabbit30-Dec-05 0:52
mankeyrabbit30-Dec-05 0:52 
AnswerRe: Dynamic adding of controls to CDialog-based class (MFC) Pin
BadKarma30-Dec-05 11:07
BadKarma30-Dec-05 11:07 
QuestionJust a quick one Pin
thes3cr3t130-Dec-05 0:47
thes3cr3t130-Dec-05 0:47 
AnswerRe: Just a quick one Pin
Owner drawn30-Dec-05 1:10
Owner drawn30-Dec-05 1:10 
AnswerRe: Just a quick one Pin
Prakash Nadar30-Dec-05 5:06
Prakash Nadar30-Dec-05 5:06 
AnswerRe: Just a quick one Pin
ToxickZero30-Dec-05 9:41
ToxickZero30-Dec-05 9:41 
Questionbackgound processes Pin
Tonichka29-Dec-05 21:35
Tonichka29-Dec-05 21:35 
AnswerRe: backgound processes Pin
Prakash Nadar29-Dec-05 23:05
Prakash Nadar29-Dec-05 23:05 
GeneralRe: backgound processes Pin
Tonichka29-Dec-05 23:22
Tonichka29-Dec-05 23:22 
GeneralRe: backgound processes Pin
Prakash Nadar29-Dec-05 23:27
Prakash Nadar29-Dec-05 23:27 
GeneralRe: backgound processes Pin
Tonichka29-Dec-05 23:34
Tonichka29-Dec-05 23:34 
GeneralRe: backgound processes Pin
Prakash Nadar29-Dec-05 23:41
Prakash Nadar29-Dec-05 23:41 
GeneralRe: backgound processes Pin
Tonichka29-Dec-05 23:53
Tonichka29-Dec-05 23:53 

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.