Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GN_CONTEXTMENU Pin
toxcct5-Apr-07 2:56
toxcct5-Apr-07 2:56 
AnswerRe: GN_CONTEXTMENU Pin
Nemanja Trifunovic5-Apr-07 2:57
Nemanja Trifunovic5-Apr-07 2:57 
Questionremote login to Windows machine Pin
Syamlal S Nair5-Apr-07 1:56
Syamlal S Nair5-Apr-07 1:56 
AnswerRe: remote login to Windows machine Pin
David Crow5-Apr-07 2:46
David Crow5-Apr-07 2:46 
GeneralRe: remote login to Windows machine Pin
Syamlal S Nair5-Apr-07 2:58
Syamlal S Nair5-Apr-07 2:58 
GeneralRe: remote login to Windows machine Pin
Syamlal S Nair5-Apr-07 3:01
Syamlal S Nair5-Apr-07 3:01 
GeneralRe: remote login to Windows machine Pin
David Crow5-Apr-07 3:05
David Crow5-Apr-07 3:05 
Questionmodeless dialog Pin
si_695-Apr-07 1:05
si_695-Apr-07 1:05 
Hi
I have a modeless dialog which i use as a wait screen, with a progress bar on it

so when something is happening in my application, the wait screen is displayed and the progress bar moves across giving the indication of how much time is left to wait

i have added a cancel button to the modeless dialog, so when the user clicks it it stops the process

im using this

ShowModelessDaig();

for (int f=0; f< mylist.GetItemCount(); f++)
{
// do some stuff
// Update Progress bar

}
CloseModelessDiag();

my problem is that i cant seem to click the cancel button on the modeless dialog, for testing purposes i was trying to display a messagebox when cancel was being clicked, but the OnBnClicked function is not even being called

How can i set focus to the cancel button

i hope all that makes sense and is clear

Simon
AnswerRe: modeless dialog Pin
Naveen5-Apr-07 1:21
Naveen5-Apr-07 1:21 
AnswerRe: modeless dialog Pin
James R. Twine5-Apr-07 1:58
James R. Twine5-Apr-07 1:58 
GeneralRe: modeless dialog Pin
Mark Salsbery5-Apr-07 8:47
Mark Salsbery5-Apr-07 8:47 
Questionhello Pin
aarti sharma5-Apr-07 0:47
aarti sharma5-Apr-07 0:47 
AnswerRe: hello Pin
toxcct5-Apr-07 1:02
toxcct5-Apr-07 1:02 
GeneralRe: hello Pin
cp98765-Apr-07 1:11
cp98765-Apr-07 1:11 
AnswerRe: hello Pin
Rajesh R Subramanian5-Apr-07 1:11
professionalRajesh R Subramanian5-Apr-07 1:11 
GeneralRe: hello Pin
Naveen5-Apr-07 1:29
Naveen5-Apr-07 1:29 
AnswerRe: hello Pin
kakan5-Apr-07 2:03
professionalkakan5-Apr-07 2:03 
AnswerRe: hello Pin
Eytukan5-Apr-07 2:27
Eytukan5-Apr-07 2:27 
GeneralRe: hello Pin
toxcct5-Apr-07 2:29
toxcct5-Apr-07 2:29 
GeneralRe: hello Pin
ThatsAlok22-Apr-07 23:15
ThatsAlok22-Apr-07 23:15 
AnswerRe: hello Pin
Ranjoy Guha5-Apr-07 3:54
Ranjoy Guha5-Apr-07 3:54 
GeneralRe: hello Pin
toxcct5-Apr-07 3:59
toxcct5-Apr-07 3:59 
GeneralRe: hello Pin
Ranjoy Guha5-Apr-07 4:05
Ranjoy Guha5-Apr-07 4:05 
GeneralRe: hello Pin
toxcct5-Apr-07 4:11
toxcct5-Apr-07 4:11 
GeneralRe: hello Pin
Ranjoy Guha5-Apr-07 4:18
Ranjoy Guha5-Apr-07 4:18 

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.