hi,
i finally tryied with a popup menu but i have a problem.
i popup it with TrackMenuPopup and i create it from a ressource.
but it doesn't look as it should. i d'ont have the names of
the menu categories, only a small rect appears but with nothing
wrote in. when i pass on with the cursor, it popup the sub-menu
quite far from the small rect, but the submenu is good looking.
if someone knows what can causes that, it would help a lot,
thanks,
--
Lucas 2 1974
On Thu, 31 Mar 2005 11:26:49 +0200, ouech <lo******@nospa mhotmail.com>
wrote: hi,
i finally tryied with a popup menu but i have a problem.
i popup it with TrackMenuPopup and i create it from a ressource. but it doesn't look as it should. i d'ont have the names of the menu categories, only a small rect appears but with nothing wrote in. when i pass on with the cursor, it popup the sub-menu quite far from the small rect, but the submenu is good looking.
if someone knows what can causes that, it would help a lot,
thanks,
I design my popup menus with a single-item menu bar, and the items
going down. Thus, the popup menu is actually the first sub-menu of the
loaded menu:
HMENU hmenu = GetSubMenu(Load Menu(hinst, MAKEINTRESOURCE (menuno)), 0);
HTH
--
Sev
Le Thu, 31 Mar 2005 18:51:32 GMT, Severian
<se******@chlam ydia-is-not-a-flower.com> a écrit: On Thu, 31 Mar 2005 11:26:49 +0200, ouech <lo******@nospa mhotmail.com> wrote:
hi,
i finally tryied with a popup menu but i have a problem.
i popup it with TrackMenuPopup and i create it from a ressource. but it doesn't look as it should. i d'ont have the names of the menu categories, only a small rect appears but with nothing wrote in. when i pass on with the cursor, it popup the sub-menu quite far from the small rect, but the submenu is good looking.
if someone knows what can causes that, it would help a lot,
thanks,
I design my popup menus with a single-item menu bar, and the items going down. Thus, the popup menu is actually the first sub-menu of the loaded menu:
HMENU hmenu = GetSubMenu(Load Menu(hinst, MAKEINTRESOURCE (menuno)), 0);
HTH
thanks, it was because i didn't give the submenu but the menu itself..
--
lucas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: PC User |
last post by:
I'm creating a shortcut menu to popup over my richtext box. Its a form
with a listbox of menu items with associated richtext activex (rtf)
editing commands. I found a way to transfer a value from the popup
menu to the form, but now I have one more step to take. The value
being transferred is a public function from a module. I need to find a
way to execute the function to edit the text in the richtext field.
Download the test database from...
|
by: Colin McGuire |
last post by:
Hi - this was posted last weekend and unfortunately not resolved. The
solutions that were posted almost worked but after another 5 days of
working on the code everynight, I am not further ahead.
If you do have any ideas I would really like to hear them.
Thanks
Colin
- 0 - 0 - 0 -
I want a glorified popup/context menu on a button that shows only when
|
by: SamSpade |
last post by:
I use to get popup events when I checked out the menu coding.
That was a while ago. Something I did in the interim must have suppressed
those events because I just noticed I don't get them any more.
What could I do that will cause menu item Popup events not to be raised?
I've been looking but really don't know where to look anymore.
Second question.
A control has a context menu.
|
by: anthony.turcotte |
last post by:
Hi,
I've looked for a solution to this problem on google, read posts in
this newsgroup and I still haven't found anything that could help me.
Here's the scenario.
1. User accesses pageA.html
2. User clicks on menu link to open popup.html
3. pageA.html checks if popup.html is already open. It is not, open
|
by: RahimAsif |
last post by:
I am writing an application that requires the a portion of the main
menu to be dynamic. The menu has file, panels, view files and help
across the top. The view files sub menu needs to be dynamically
generated, and the dynamic generation needs to occur right when the
user selects this menu item (that is on the Popup event handler).
However, everytime I put following code on the Popup event handler (of
the View Files menuitem) to dynamically...
| |
by: john |
last post by:
In Paradox I was able to create popup menu's in which some of the items had
popup menu's themselves. I've looked for threads on popup menu's and access
but I can't find how to make a simple popup menu. The popup menu I want to
make should appear when I rightclick a button on my form. A user's choice
should do some action.
Can someone point me in the right direction?
thanks, john
|
by: SQACSharp |
last post by:
I'm trying to automate an action in Internet Explorer.... I'm trying
to click an image that open a popup menu. The html code of the iimage
look like like <img blabla..OnClick="ShowMenu()"/>
I can click the image but my application is "sleeping" until I
manually click an item in the popup menu.
My code :
//--------------------------------//
|
by: wreed06 |
last post by:
Hello,
I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully validated my HTML and CSS code.
1. When I clear cache and refresh my webpage, it takes 3 tries before the popup window displays - I click on the button once, a white window the size of my webpage displays. I close it and click on the button again (for...
|
by: Carl |
last post by:
"Chuckk Hubbard" <badmuthahubbard@gmail.comwrites:
Try creating the "main" popup menu before the sub-menus, and when
instantiating the sub-menus, pass the main menu as the "master"
instead of "self.myparent":
....snip code -----------------------------------------
self.canvas.bind("<Button-3>",self.popup)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |