Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOwner Drawn Buttons Pin
Derek Lakin4-Sep-01 0:31
Derek Lakin4-Sep-01 0:31 
GeneralRe: Owner Drawn Buttons Pin
Christian Graus4-Sep-01 0:36
protectorChristian Graus4-Sep-01 0:36 
GeneralRe: Owner Drawn Buttons Pin
George4-Sep-01 0:50
George4-Sep-01 0:50 
GeneralRe: Owner Drawn Buttons Pin
Christian Graus4-Sep-01 1:11
protectorChristian Graus4-Sep-01 1:11 
GeneralRe: Owner Drawn Buttons Pin
Derek Lakin4-Sep-01 2:38
Derek Lakin4-Sep-01 2:38 
GeneralInsert MSChart controle in VC++ activex project Pin
3-Sep-01 23:09
suss3-Sep-01 23:09 
QuestionHow do i get the HWND for PostMessage Pin
Yves3-Sep-01 22:48
Yves3-Sep-01 22:48 
AnswerRe: How do i get the HWND for PostMessage Pin
Steen Krogsgaard4-Sep-01 1:31
Steen Krogsgaard4-Sep-01 1:31 
The line
   CMessageTestDlg pApp;
<\PRE>
makes a new instance of the CMessageTestDlg class - it does not give you access to the global CWinApp derivative in your main thread. Use AfxGetApp() instead (I'm pretty sure it works across threads, but you may check to be absolutely sure). You can, however, not use AfxGetMainWnd() as this is thread-specific.


Cheers
Steen.

"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"

GeneralRe: How do i get the HWND for PostMessage Pin
Steen Krogsgaard4-Sep-01 2:03
Steen Krogsgaard4-Sep-01 2:03 
QuestionHow do I disable system menu buttons Pin
3-Sep-01 21:40
suss3-Sep-01 21:40 
AnswerRe: How do I disable system menu buttons Pin
JerzyPeter4-Sep-01 3:13
JerzyPeter4-Sep-01 3:13 
GeneralRe: How do I disable system menu buttons Pin
4-Sep-01 11:19
suss4-Sep-01 11:19 
GeneralRe: How do I disable system menu buttons Pin
The_Server4-Sep-01 13:18
The_Server4-Sep-01 13:18 
GeneralRe: How do I disable system menu buttons Pin
4-Sep-01 17:52
suss4-Sep-01 17:52 
GeneralRe: How do I disable system menu buttons Pin
Tim Deveaux5-Sep-01 7:29
Tim Deveaux5-Sep-01 7:29 
QuestionTrackPopupMenu - What am I doing wrong? Pin
James Bird3-Sep-01 21:31
James Bird3-Sep-01 21:31 
AnswerRe: TrackPopupMenu - What am I doing wrong? Pin
3-Sep-01 22:45
suss3-Sep-01 22:45 
GeneralRe: TrackPopupMenu - What am I doing wrong? Pin
James Bird3-Sep-01 23:15
James Bird3-Sep-01 23:15 
GeneralRe: TrackPopupMenu - What am I doing wrong? Pin
Christian Graus3-Sep-01 23:49
protectorChristian Graus3-Sep-01 23:49 
AnswerRe: TrackPopupMenu - What am I doing wrong? Pin
Steen Krogsgaard4-Sep-01 0:15
Steen Krogsgaard4-Sep-01 0:15 
AnswerRe: TrackPopupMenu - What am I doing wrong? Pin
Rashid Thadha4-Sep-01 0:29
Rashid Thadha4-Sep-01 0:29 
AnswerRe: TrackPopupMenu - What am I doing wrong? Pin
James Bird4-Sep-01 4:22
James Bird4-Sep-01 4:22 
General.xls and Visual C++ Pin
3-Sep-01 21:24
suss3-Sep-01 21:24 
GeneralRe: .xls and Visual C++ Pin
Michael P Butler3-Sep-01 22:14
Michael P Butler3-Sep-01 22:14 
GeneralCOleDropTarget on a CDialog Pin
3-Sep-01 21:10
suss3-Sep-01 21:10 

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.