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

C / C++ / MFC

 
GeneralRe: IStorage like functionality in memory Pin
Chris Losinger4-Aug-04 5:28
professionalChris Losinger4-Aug-04 5:28 
GeneralRe: IStorage like functionality in memory Pin
pankajdaga4-Aug-04 6:49
pankajdaga4-Aug-04 6:49 
GeneralMenus in VC 7 not working after resource cleanup Pin
PrashantJ4-Aug-04 3:53
PrashantJ4-Aug-04 3:53 
GeneralRe: Menus in VC 7 not working after resource cleanup Pin
Tim Smith4-Aug-04 3:59
Tim Smith4-Aug-04 3:59 
GeneralRe: Menus in VC 7 not working after resource cleanup Pin
PrashantJ4-Aug-04 4:04
PrashantJ4-Aug-04 4:04 
GeneralUsing Created() CListBox Pin
gokings4-Aug-04 3:52
gokings4-Aug-04 3:52 
GeneralRe: Using Created() CListBox Pin
David Crow4-Aug-04 4:25
David Crow4-Aug-04 4:25 
GeneralRe: Using Created() CListBox Pin
gokings4-Aug-04 5:24
gokings4-Aug-04 5:24 
The crux of the matter is that I want to display a popup menu, but the CMenu class has limitations making it unsuitable for my needs. Someone suggested that I use a Listbox instead of a Menu. From this I assumed that a Listbox could exist independently of a dialog box. Realizing that this is not the case makes everything fall into place.

As for not knowing what to do with a Listbox once it was created, in the context of my question I meant how to cause it to interact with the user. It seems to me that it could be attached at run time to any window, such as a FrameWnd, but perhaps it must be part of a dialog as you indicate.

As far as examples being everywhere, if what you say is true, there are no examples of doing what I wanted to do, as it can't be done. I don't need an example of creating a Listbox on a dialog, a monkey could figure that out without an example.

Yes, I am aware of handling ON_LBN_SELCHANGE, but I was hoping that there was a "modal" alternative.

Regards


GeneralRe: Using Created() CListBox Pin
David Crow4-Aug-04 5:58
David Crow4-Aug-04 5:58 
GeneralRe: Using Created() CListBox Pin
gokings5-Aug-04 22:08
gokings5-Aug-04 22:08 
GeneralRe: Using Created() CListBox Pin
cmk4-Aug-04 10:04
cmk4-Aug-04 10:04 
GeneralWindow size when dockingbar present Pin
_anil_4-Aug-04 3:44
_anil_4-Aug-04 3:44 
GeneralArrays! Pin
CreepingFeature4-Aug-04 2:58
CreepingFeature4-Aug-04 2:58 
GeneralRe: Arrays! Pin
Antony M Kancidrowski4-Aug-04 3:06
Antony M Kancidrowski4-Aug-04 3:06 
GeneralRe: Arrays! Pin
Jaime Stuardo4-Aug-04 3:35
Jaime Stuardo4-Aug-04 3:35 
GeneralRe: Arrays! Pin
Per Nilsson4-Aug-04 4:08
Per Nilsson4-Aug-04 4:08 
GeneralRe: Arrays! Pin
V.4-Aug-04 3:43
professionalV.4-Aug-04 3:43 
GeneralRe: Arrays! Pin
Tim Smith4-Aug-04 3:55
Tim Smith4-Aug-04 3:55 
GeneralRe: Arrays! Pin
Tim Smith4-Aug-04 3:57
Tim Smith4-Aug-04 3:57 
GeneralRe: Arrays! Pin
digwizfox4-Aug-04 6:16
digwizfox4-Aug-04 6:16 
GeneralSTL iterators and post/pre incrementing Pin
Jim Crafton4-Aug-04 2:49
Jim Crafton4-Aug-04 2:49 
GeneralRe: STL iterators and post/pre incrementing Pin
Antony M Kancidrowski4-Aug-04 2:57
Antony M Kancidrowski4-Aug-04 2:57 
GeneralRe: STL iterators and post/pre incrementing Pin
RChin4-Aug-04 3:45
RChin4-Aug-04 3:45 
GeneralRe: STL iterators and post/pre incrementing Pin
Nitron4-Aug-04 3:58
Nitron4-Aug-04 3:58 
GeneralRe: STL iterators and post/pre incrementing Pin
digwizfox4-Aug-04 6:25
digwizfox4-Aug-04 6:25 

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.