Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Function to pointer problem Pin
Joan M9-Aug-12 23:48
professionalJoan M9-Aug-12 23:48 
QuestionGood bootstrapping resources Pin
Brandon-X120009-Aug-12 2:10
Brandon-X120009-Aug-12 2:10 
AnswerRe: Good bootstrapping resources Pin
Randor 9-Aug-12 5:03
professional Randor 9-Aug-12 5:03 
GeneralMessagebox Pin
sarfaraznawaz8-Aug-12 21:24
sarfaraznawaz8-Aug-12 21:24 
QuestionRe: Messagebox Pin
Eugen Podsypalnikov8-Aug-12 21:40
Eugen Podsypalnikov8-Aug-12 21:40 
GeneralRe: Messagebox PinPopular
pasztorpisti8-Aug-12 23:23
pasztorpisti8-Aug-12 23:23 
GeneralRe: Messagebox Pin
sarfaraznawaz10-Aug-12 1:27
sarfaraznawaz10-Aug-12 1:27 
GeneralRe: Messagebox Pin
pasztorpisti10-Aug-12 2:27
pasztorpisti10-Aug-12 2:27 
This is how you have to implement some kind of parallel task on a thread with progressbar and cancel button: You setup the thread and start it to do its work. The worker thread posts progress updates to your gui by sending WM_USER+XXX message and an int parameter that is the progress, you should use PostMessage() and not SendMessage() to prevent your thread from waiting for your window to process the WM_USER+XXX message that sets the state of the progressbar. If you want to cancel the task from your gui thread then you should set a cancel flag for your worker thread and then you should poll this flag from your worker thread and stop doing the work if its set. Before exiting your worker thread you should send a WM_USER+YYY message to the gui thread indicating that the work has been cancelled.
GeneralRe: Messagebox Pin
sarfaraznawaz12-Aug-12 19:39
sarfaraznawaz12-Aug-12 19:39 
GeneralRe: Messagebox Pin
pasztorpisti12-Aug-12 19:50
pasztorpisti12-Aug-12 19:50 
GeneralRe: Messagebox Pin
pasztorpisti9-Aug-12 20:55
pasztorpisti9-Aug-12 20:55 
QuestionHow to check if a character is from keyboard in MFC Pin
Andraw1118-Aug-12 10:50
Andraw1118-Aug-12 10:50 
QuestionRe: How to check if a character is from keyboard in MFC Pin
Eugen Podsypalnikov8-Aug-12 11:03
Eugen Podsypalnikov8-Aug-12 11:03 
AnswerRe: How to check if a character is from keyboard in MFC Pin
Software_Developer8-Aug-12 20:05
Software_Developer8-Aug-12 20:05 
GeneralRe: How to check if a character is from keyboard in MFC Pin
Peter_in_27808-Aug-12 20:25
professionalPeter_in_27808-Aug-12 20:25 
GeneralRe: How to check if a character is from keyboard in MFC Pin
Software_Developer8-Aug-12 21:43
Software_Developer8-Aug-12 21:43 
JokeRe: How to check if a character is from keyboard in MFC Pin
Eugen Podsypalnikov8-Aug-12 22:17
Eugen Podsypalnikov8-Aug-12 22:17 
QuestionCB_SELECTSTRING related question Pin
tagopi8-Aug-12 0:24
tagopi8-Aug-12 0:24 
AnswerRe: CB_SELECTSTRING related question Pin
Eugen Podsypalnikov8-Aug-12 0:33
Eugen Podsypalnikov8-Aug-12 0:33 
GeneralRe: CB_SELECTSTRING related question Pin
tagopi8-Aug-12 0:36
tagopi8-Aug-12 0:36 
GeneralRe: CB_SELECTSTRING related question Pin
Eugen Podsypalnikov8-Aug-12 0:42
Eugen Podsypalnikov8-Aug-12 0:42 
GeneralRe: CB_SELECTSTRING related question (solved) Pin
tagopi8-Aug-12 0:53
tagopi8-Aug-12 0:53 
QuestionHow to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
sangamdumne7-Aug-12 23:52
sangamdumne7-Aug-12 23:52 
GeneralRe: How to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
Software_Developer8-Aug-12 0:38
Software_Developer8-Aug-12 0:38 
GeneralC++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1637-Aug-12 21:49
BCN-1637-Aug-12 21:49 

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.