Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to increase the height of the default menu in MFC? Pin
KarstenK21-Sep-09 21:18
mveKarstenK21-Sep-09 21:18 
AnswerRe: How to increase the height of the default menu in MFC? Pin
David Crow22-Sep-09 3:04
David Crow22-Sep-09 3:04 
GeneralRe: How to increase the height of the default menu in MFC? Pin
kilt24-Sep-09 7:22
kilt24-Sep-09 7:22 
Questionview menu is changing while opening Dialog Pin
002comp21-Sep-09 19:20
002comp21-Sep-09 19:20 
AnswerRe: view menu is changing while opening Dialog Pin
Saurabh.Garg21-Sep-09 19:30
Saurabh.Garg21-Sep-09 19:30 
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 

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.