how to create dynamically popupmenu?
-
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
yogish293 wrote:
s it possible?
Did you try? :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
For how long are you going to repost the same question ? You already got a lot of answers suggesting that it was a very bad design. Why don't you look at it from the user point of view and see if you can't use a more user-friendly approach ?
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
How much more information do you need on this? You have already been shown:
- This is not a good design, and you should consider alternatives.
- If you insist on doing it this way then you probably need to use a virtual menu - i.e. owner drawn.
I must get a clever new signature for 2011.
-
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
-
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
I guess you have to back to your class because its not a problem its very a basic question to write it,I think you dont know this secret(we have a site on the net its name is codeproject it has many articles(about menus and pop up menus,....) Please dont read this post its a secret.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
I guess you have to back to your class because its not a problem its very a basic question to write it,I think you dont know this secret(we have a site on the net its name is codeproject it has many articles(about menus and pop up menus,....) Please dont read this post its a secret.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
i wanted to create dynamically popupmenu on clicking rightclick... the item may very more than thousands worst case otherwise hundreds only. Is it possible?
Anything is possible; the question is: IS IT FEASABLE? Why would you want to create menu with hundreds, not to mention thousand items. Put yourself in a position of a user of your application and imagine browsing hundreds of items to find one to choose. You have to rethink your design.
JohnCz MS C++ MVP