Click here to Skip to main content
15,887,776 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Enable moving marquee progress bar (C++, ATL/WTL, XP, VS2008) Pin
Richard MacCutchan6-Oct-10 4:03
mveRichard MacCutchan6-Oct-10 4:03 
GeneralRe: Enable moving marquee progress bar (C++, ATL/WTL, XP, VS2008) Pin
karuuzo6-Oct-10 4:12
karuuzo6-Oct-10 4:12 
GeneralRe: Enable moving marquee progress bar (C++, ATL/WTL, XP, VS2008) Pin
Richard MacCutchan6-Oct-10 5:02
mveRichard MacCutchan6-Oct-10 5:02 
GeneralRe: Enable moving marquee progress bar (C++, ATL/WTL, XP, VS2008) Pin
karuuzo6-Oct-10 5:23
karuuzo6-Oct-10 5:23 
QuestionRegarding Tools Pin
Anil Kumar.Arvapalli3-Oct-10 21:16
Anil Kumar.Arvapalli3-Oct-10 21:16 
AnswerRe: Regarding Tools Pin
LunaticFringe4-Oct-10 12:28
LunaticFringe4-Oct-10 12:28 
AnswerRe: Regarding Tools Pin
federico.strati5-Oct-10 3:19
federico.strati5-Oct-10 3:19 
QuestionDynamic Owner-Drawn CListBox Derivative - Owner Draw Problem Pin
Kyudos3-Oct-10 13:00
Kyudos3-Oct-10 13:00 
I'm trying to create a pop up list box to display some drawing line styles which are stored in an XML file. I want to display the line and then the name of the style (i.e., the items have strings).

So I derived a class from CListBox, added in some sizing code and the relevant DrawItem function, and dynamically CreateEx'd this to popup off a button in my test dialog app.

However, I'm not getting any owner-draw messages to my popup - it's blank! If I take off the LBS_OWNERDRAWFIXED|LBS_HASSTRINGS style the popup is correctly populated with the style name strings. I added an owner-draw list box to the dialog and re-classified it to use my listbox class, and barring some item sizing issues it draws the items the way I want them drawn.

So what am I not appreciating about the dynamically created version? Where are is WM_DRAWITEM messages going?

Cheers!
AnswerRe: Dynamic Owner-Drawn CListBox Derivative - Owner Draw Problem Pin
Kyudos3-Oct-10 17:24
Kyudos3-Oct-10 17:24 
QuestionCustomize CMFCPropertyGrid Pin
silversamand1-Oct-10 21:37
silversamand1-Oct-10 21:37 
QuestionHow to associate CMap key value to CComboBox Pin
ptr_Electron27-Sep-10 0:49
ptr_Electron27-Sep-10 0:49 
AnswerRe: How to associate CMap key value to CComboBox [modified] Pin
Cool_Dev27-Sep-10 4:33
Cool_Dev27-Sep-10 4:33 
GeneralRe: How to associate CMap key value to CComboBox Pin
ptr_Electron27-Sep-10 18:11
ptr_Electron27-Sep-10 18:11 
GeneralRe: How to associate CMap key value to CComboBox Pin
Cool_Dev27-Sep-10 18:53
Cool_Dev27-Sep-10 18:53 
GeneralRe: How to associate CMap key value to CComboBox Pin
ptr_Electron27-Sep-10 22:14
ptr_Electron27-Sep-10 22:14 
GeneralRe: How to associate CMap key value to CComboBox Pin
Cool_Dev27-Sep-10 22:36
Cool_Dev27-Sep-10 22:36 
GeneralRe: How to associate CMap key value to CComboBox Pin
ptr_Electron28-Sep-10 0:31
ptr_Electron28-Sep-10 0:31 
GeneralRe: How to associate CMap key value to CComboBox Pin
ptr_Electron28-Sep-10 1:53
ptr_Electron28-Sep-10 1:53 
GeneralRe: How to associate CMap key value to CComboBox Pin
Cool_Dev28-Sep-10 2:12
Cool_Dev28-Sep-10 2:12 
GeneralRe: How to associate CMap key value to CComboBox Pin
ptr_Electron28-Sep-10 2:24
ptr_Electron28-Sep-10 2:24 
QuestionCFile Insert not Write... Pin
loid grey manuel26-Sep-10 22:17
loid grey manuel26-Sep-10 22:17 
AnswerRe: CFile Insert not Write... Pin
Richard MacCutchan26-Sep-10 22:59
mveRichard MacCutchan26-Sep-10 22:59 
GeneralRe: CFile Insert not Write... [RESOLVED] Pin
loid grey manuel27-Sep-10 15:56
loid grey manuel27-Sep-10 15:56 
GeneralRe: CFile Insert not Write... [RESOLVED] Pin
Richard MacCutchan27-Sep-10 21:48
mveRichard MacCutchan27-Sep-10 21:48 
GeneralRe: CFile Insert and realtime Sorting ... Pin
loid grey manuel27-Sep-10 22:32
loid grey manuel27-Sep-10 22:32 

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.