Click here to Skip to main content
15,913,196 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: add title Pin
wong190719-Aug-02 2:41
wong190719-Aug-02 2:41 
GeneralRe: add title Pin
Tomasz Sowinski19-Aug-02 2:55
Tomasz Sowinski19-Aug-02 2:55 
GeneralRe: add title Pin
wong190719-Aug-02 4:15
wong190719-Aug-02 4:15 
GeneralSendInput() compiler report "undeclared identifier" Pin
mmlxl18-Aug-02 20:36
mmlxl18-Aug-02 20:36 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
Tomasz Sowinski18-Aug-02 22:23
Tomasz Sowinski18-Aug-02 22:23 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
mmlxl19-Aug-02 14:53
mmlxl19-Aug-02 14:53 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
Tomasz Sowinski19-Aug-02 21:46
Tomasz Sowinski19-Aug-02 21:46 
QuestionButton inside a listbox? Pin
Moak18-Aug-02 20:24
Moak18-Aug-02 20:24 
Hi GUI coders,
I try to create a ownerdraw listbox which has a fixed button in the upper right corner. Fixed button means here, it always is at the same local position (drawn over listbox entries). Basically, it should look like this (o = button).

_______________
|            o ||
|              ||
|              ||
|              ||
|              ||
|______________||

I already have an ownerdraw CListbox class and an ownedraw CButton class (MFC). Now, how would I integrate my ownerdraw button? Can I use my existing button class (1. somehow one button dynamically created over the listbox)... or do I need to handle everything on my own (2. somehow inside my listbox class)??? At the end I'd like to have a new control. Thanks for any hint or ideas. Currently I have no idea how to start.

Thanks, Moak Smile | :)

PS: What's the idea of this control? When a user hits the new button I'll create a popupmenu showing some icons and the user can choose one. The icon will then be shown in the listbox (it's a output of a chat program).
AnswerRe: Button inside a listbox? Pin
Jon Hulatt18-Aug-02 23:10
Jon Hulatt18-Aug-02 23:10 
GeneralRe: Button inside a listbox? Pin
Moak18-Aug-02 23:22
Moak18-Aug-02 23:22 
GeneralRe: Button inside a listbox? Pin
Roger Allen19-Aug-02 2:47
Roger Allen19-Aug-02 2:47 
GeneralRe: Button inside a listbox? Pin
Tomasz Sowinski19-Aug-02 2:57
Tomasz Sowinski19-Aug-02 2:57 
GeneralRe: Button inside a listbox? Pin
Anonymous_Unregistered19-Aug-02 19:43
sussAnonymous_Unregistered19-Aug-02 19:43 
GeneralRe: Button inside a listbox? Pin
Tomasz Sowinski19-Aug-02 21:44
Tomasz Sowinski19-Aug-02 21:44 
GeneralTwo questions about CToolTipCtrl Pin
Eugene Pustovoyt18-Aug-02 20:03
Eugene Pustovoyt18-Aug-02 20:03 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski18-Aug-02 22:24
Tomasz Sowinski18-Aug-02 22:24 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 0:37
Eugene Pustovoyt19-Aug-02 0:37 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski19-Aug-02 0:42
Tomasz Sowinski19-Aug-02 0:42 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 2:34
Eugene Pustovoyt19-Aug-02 2:34 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski19-Aug-02 2:42
Tomasz Sowinski19-Aug-02 2:42 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 4:12
Eugene Pustovoyt19-Aug-02 4:12 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 9:05
Eugene Pustovoyt19-Aug-02 9:05 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski19-Aug-02 0:46
Tomasz Sowinski19-Aug-02 0:46 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 4:15
Eugene Pustovoyt19-Aug-02 4:15 
GeneralHelp button and propertysheet 2 Pin
Mazdak18-Aug-02 19:59
Mazdak18-Aug-02 19:59 

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.