Click here to Skip to main content
15,889,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How do I completely take over drawing for a listbox Pin
KellyR10-Dec-08 4:00
KellyR10-Dec-08 4:00 
QuestionFinding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:24
rajandpayal9-Dec-08 9:24 
AnswerRe: Finding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:27
rajandpayal9-Dec-08 9:27 
GeneralRe: Finding out the source from which a base class function is called. Pin
Chris Losinger9-Dec-08 13:21
professionalChris Losinger9-Dec-08 13:21 
GeneralRe: Finding out the source from which a base class function is called. Pin
rajandpayal10-Dec-08 5:01
rajandpayal10-Dec-08 5:01 
GeneralRe: Finding out the source from which a base class function is called. Pin
Chris Losinger10-Dec-08 5:05
professionalChris Losinger10-Dec-08 5:05 
QuestionStrange Problem regarding PING ?? Pin
AhmedOsamaMoh9-Dec-08 8:39
AhmedOsamaMoh9-Dec-08 8:39 
AnswerRe: Strange Problem regarding PING ?? Pin
gori_sikten9-Dec-08 17:10
gori_sikten9-Dec-08 17:10 
GeneralRe: Strange Problem regarding PING ?? Pin
AhmedOsamaMoh10-Dec-08 0:44
AhmedOsamaMoh10-Dec-08 0:44 
AnswerRe: Strange Problem regarding PING ?? Pin
Cosmic Egg12-Dec-08 11:00
Cosmic Egg12-Dec-08 11:00 
QuestionCurrenttime to Variant Pin
pratap19809-Dec-08 7:50
pratap19809-Dec-08 7:50 
AnswerRe: Currenttime to Variant Pin
Mark Salsbery9-Dec-08 8:46
Mark Salsbery9-Dec-08 8:46 
AnswerRe: Currenttime to Variant Pin
Michael Dunn9-Dec-08 13:29
sitebuilderMichael Dunn9-Dec-08 13:29 
Generalsize of file Pin
indiraagandhi9-Dec-08 7:49
indiraagandhi9-Dec-08 7:49 
GeneralRe: size of file Pin
Cedric Moonen9-Dec-08 7:53
Cedric Moonen9-Dec-08 7:53 
GeneralRe: size of file Pin
indiraagandhi11-Dec-08 6:19
indiraagandhi11-Dec-08 6:19 

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.