Click here to Skip to main content
15,887,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: view menu is changing while opening Dialog Pin
002comp21-Sep-09 20:29
002comp21-Sep-09 20:29 
GeneralRe: view menu is changing while opening Dialog Pin
Saurabh.Garg21-Sep-09 20:38
Saurabh.Garg21-Sep-09 20:38 
Questionautomation using xl5en32.h Pin
prithaa21-Sep-09 19:00
prithaa21-Sep-09 19:00 
AnswerRe: automation using xl5en32.h Pin
KarstenK21-Sep-09 21:22
mveKarstenK21-Sep-09 21:22 
GeneralRe: automation using xl5en32.h Pin
prithaa21-Sep-09 23:37
prithaa21-Sep-09 23:37 
AnswerRe: automation using xl5en32.h Pin
KarstenK22-Sep-09 0:11
mveKarstenK22-Sep-09 0:11 
QuestionHow to Get List Box Control Varibale from a Dlg Class To UI Thread Class [modified] Pin
Hari_1621-Sep-09 18:12
Hari_1621-Sep-09 18:12 
AnswerRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
«_Superman_»21-Sep-09 19:55
professional«_Superman_»21-Sep-09 19:55 
You can always pass the handle of the list box to the other class using methods.
Once you get the handle, you can create an object using the FromHandle[^] static method.

However, it is not a good idea to access controls from a thread other than the UI thread that owns the control.

The worker thread that you have must send the LB_ADDSTRING Message[^] to the UI thread when it wants to add a string to the list box.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
Hari_1621-Sep-09 20:41
Hari_1621-Sep-09 20:41 
GeneralRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
«_Superman_»21-Sep-09 22:35
professional«_Superman_»21-Sep-09 22:35 
GeneralRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
Hari_1622-Sep-09 1:58
Hari_1622-Sep-09 1:58 
GeneralRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
David Crow22-Sep-09 3:11
David Crow22-Sep-09 3:11 
GeneralRe: How to Get List Box Control Varibale from a Dlg Class To UI Thread Class Pin
David Crow22-Sep-09 3:08
David Crow22-Sep-09 3:08 
QuestionName Decoration Pin
Bram van Kampen21-Sep-09 12:30
Bram van Kampen21-Sep-09 12:30 
AnswerRe: Name Decoration Pin
Luc Pattyn21-Sep-09 13:09
sitebuilderLuc Pattyn21-Sep-09 13:09 
AnswerRe: Name Decoration Pin
Joe Woodbury21-Sep-09 20:10
professionalJoe Woodbury21-Sep-09 20:10 
QuestionNewbie needs help WriteFile() Function Pin
egerving21-Sep-09 12:15
egerving21-Sep-09 12:15 
AnswerRe: Newbie needs help WriteFile() Function Pin
«_Superman_»21-Sep-09 17:20
professional«_Superman_»21-Sep-09 17:20 
AnswerRe: Newbie needs help WriteFile() Function Pin
norish21-Sep-09 18:02
norish21-Sep-09 18:02 
GeneralRe: Newbie needs help WriteFile() Function Pin
Joe Woodbury21-Sep-09 19:58
professionalJoe Woodbury21-Sep-09 19:58 
AnswerRe: Newbie needs help WriteFile() Function Pin
Joe Woodbury21-Sep-09 20:04
professionalJoe Woodbury21-Sep-09 20:04 
QuestionHow to get a specified message from message loop? Pin
includeh1021-Sep-09 12:06
includeh1021-Sep-09 12:06 
AnswerRe: How to get a specified message from message loop? Pin
«_Superman_»21-Sep-09 17:25
professional«_Superman_»21-Sep-09 17:25 
QuestionData Encryption Suggestion needed. [modified] Pin
transoft21-Sep-09 9:44
transoft21-Sep-09 9:44 
AnswerRe: Data Encryption Suggestion needed. Pin
Richard MacCutchan21-Sep-09 11:36
mveRichard MacCutchan21-Sep-09 11:36 

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.