Click here to Skip to main content
15,902,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to display a document when clicked on sub menu for a dialog based application? Pin
VC++Maniac10-Dec-08 1:14
VC++Maniac10-Dec-08 1:14 
QuestionSingleton class Pin
Nikesh Jagtap9-Dec-08 18:32
Nikesh Jagtap9-Dec-08 18:32 
AnswerRe: Singleton class Pin
_AnsHUMAN_ 9-Dec-08 19:08
_AnsHUMAN_ 9-Dec-08 19:08 
AnswerRe: Singleton class Pin
Jessn9-Dec-08 21:00
Jessn9-Dec-08 21:00 
QuestionHot key problem Pin
MsmVc9-Dec-08 17:49
MsmVc9-Dec-08 17:49 
AnswerRe: Hot key problem Pin
MsmVc9-Dec-08 20:36
MsmVc9-Dec-08 20:36 
GeneralRe: Hot key problem Pin
Code-o-mat10-Dec-08 3:18
Code-o-mat10-Dec-08 3:18 
Questionbmp image on dialog box Pin
VC++Maniac9-Dec-08 17:21
VC++Maniac9-Dec-08 17:21 
AnswerRe: bmp image on dialog box Pin
Mark Salsbery9-Dec-08 17:32
Mark Salsbery9-Dec-08 17:32 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 17:52
VC++Maniac9-Dec-08 17:52 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 18:15
VC++Maniac9-Dec-08 18:15 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:25
Code-o-mat10-Dec-08 3:25 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 3:45
VC++Maniac10-Dec-08 3:45 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:58
Code-o-mat10-Dec-08 3:58 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 4:08
VC++Maniac10-Dec-08 4:08 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 4:14
Code-o-mat10-Dec-08 4:14 
AnswerRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 17:30
VC++Maniac10-Dec-08 17:30 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 19:28
VC++Maniac10-Dec-08 19:28 
Questionhow to divide panes of status bar of dialog box into equal parts? Pin
puppya9-Dec-08 17:01
puppya9-Dec-08 17:01 
AnswerRe: how to divide panes of status bar of dialog box into equal parts? Pin
_AnsHUMAN_ 9-Dec-08 17:25
_AnsHUMAN_ 9-Dec-08 17:25 
QuestionWhat does this error mean? Pin
monsieur_jj9-Dec-08 15:36
monsieur_jj9-Dec-08 15:36 
AnswerRe: What does this error mean? Pin
_AnsHUMAN_ 9-Dec-08 16:47
_AnsHUMAN_ 9-Dec-08 16:47 
QuestionCInternetSession.OpenURL on Windows Mobile fails Pin
Jessn9-Dec-08 10:28
Jessn9-Dec-08 10:28 
QuestionHow do I completely take over drawing for a listbox Pin
KellyR9-Dec-08 9:46
KellyR9-Dec-08 9:46 
Hi, I asked a question sort of similar to this a few days ago, but the problem has now evolved; what I want to do is:

I am using C++ with the windows API, without MFC.

I want to retain all the functionality of a listbox but I want to draw everything myself. If I set the style to OWNERDRAW I can at least draw the listbox items and the box itself (if I don't give it border) but I still can't draw any scrollbars created using WS_VSCROLL or WS_HSCROLL; they seem to use the default windows drawing behavior.

So how do I completely override all the default drawing for a listbox (or any windows control for that matter)? I don't want to draw over the default scrollbars; I want them to simply not draw at all, but still "exist" and allow me to ownerdraw them.

Thanks!

KR

AnswerRe: How do I completely take over drawing for a listbox Pin
enhzflep9-Dec-08 12:03
enhzflep9-Dec-08 12:03 

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.