Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generallnk2019 Pin
Brian Delahunty23-Apr-03 23:57
Brian Delahunty23-Apr-03 23:57 
GeneralRe: lnk2019 Pin
Dominik Reichl24-Apr-03 2:02
Dominik Reichl24-Apr-03 2:02 
GeneralRe: lnk2019 Pin
Brian Delahunty24-Apr-03 3:35
Brian Delahunty24-Apr-03 3:35 
GeneralTransparent Docking Bars Pin
Richard Hudson23-Apr-03 22:54
Richard Hudson23-Apr-03 22:54 
GeneralRe: Transparent Docking Bars Pin
Joel Lucsy24-Apr-03 2:39
Joel Lucsy24-Apr-03 2:39 
GeneralRe: Transparent Docking Bars Pin
Richard Hudson24-Apr-03 4:34
Richard Hudson24-Apr-03 4:34 
QuestionHow do I load an icon onto client area of a single document app?? Pin
IrishSonic23-Apr-03 22:47
IrishSonic23-Apr-03 22:47 
AnswerRe: How do I load an icon onto client area of a single document app?? Pin
KaЯl24-Apr-03 5:23
KaЯl24-Apr-03 5:23 
You could the view of your app to do so.

* Draw your icon in the method CMyView::OnDraw (you can use an attribute image list to do so: load the icon in the image list at the creation, and use the method CImageList::Draw)
* Catch the message WM_LBUTTONDOWN in your view, and in the method CMyView::ONLButtonDown check if the mouse input was on your icon. If yes, launch your dialog box.

HTH,

K.






On the keyboard of life, always keep one finger on the escape key - Paul Watson


GeneralHave done that but how now do tell if an icon is clicked on?? Pin
IrishSonic25-Apr-03 7:42
IrishSonic25-Apr-03 7:42 
GeneralRe: Have done that but how now do tell if an icon is clicked on?? Pin
KaЯl25-Apr-03 7:47
KaЯl25-Apr-03 7:47 
AnswerRe: How do I load an icon onto client area of a single document app?? Pin
David Crow24-Apr-03 6:07
David Crow24-Apr-03 6:07 
GeneralProblem (bug?) with new WinXP icons and COleClientItem Pin
posselt23-Apr-03 20:41
posselt23-Apr-03 20:41 
GeneralDisable/Enable PrintScreen key Pin
CS42923-Apr-03 20:31
CS42923-Apr-03 20:31 
GeneralRe: Disable/Enable PrintScreen key Pin
Rickard Andersson2023-Apr-03 20:47
Rickard Andersson2023-Apr-03 20:47 
GeneralRe: Disable/Enable PrintScreen key Pin
Dominik Reichl23-Apr-03 22:08
Dominik Reichl23-Apr-03 22:08 
GeneralRe: Disable/Enable PrintScreen key Pin
Joan M23-Apr-03 22:30
professionalJoan M23-Apr-03 22:30 
GeneralSerialization question... Pin
work_to_live23-Apr-03 18:52
work_to_live23-Apr-03 18:52 
GeneralRe: Serialization question... Pin
work_to_live26-Apr-03 7:27
work_to_live26-Apr-03 7:27 
GeneralProblem using Sybase thru ODBC from VC++ DLL Pin
AjazM23-Apr-03 18:26
AjazM23-Apr-03 18:26 
GeneralUsing the SOAP trace utility Pin
Anthony_Yio23-Apr-03 18:13
Anthony_Yio23-Apr-03 18:13 
GeneralRe: Using the SOAP trace utility Pin
Anthony_Yio23-Apr-03 19:39
Anthony_Yio23-Apr-03 19:39 
General32-band equalizer Pin
Henry P.23-Apr-03 13:37
Henry P.23-Apr-03 13:37 
GeneralRe: 32-band equalizer Pin
Sendel23-Apr-03 14:50
Sendel23-Apr-03 14:50 
Generalfstream Pin
Selevercin23-Apr-03 13:32
Selevercin23-Apr-03 13:32 
GeneralRe: fstream Pin
Nitron23-Apr-03 13:37
Nitron23-Apr-03 13:37 

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.