|
Placing popupmenus into other programs -
Hi, basically i have code that creates a menu inside another program, ie it lets me put a menu into notepad called "Alistair".
However I cant work out (Becuse im dumb) how i get the items in the menu to do stuff?
So does any1 know how?
Thanks for any help
I think this is the code that actually creates and places the menu (But i could be wrong)
Code:
Public Declare Function CreatePopupMenu Lib "user32" () As Long
Public Sub CreateMenu(wnd As String, MnuCap As String, Mnuitem As String)
'Thanks for downloading my example, please vote!
'e-mail me at itzmunky@hotmail.com for more
Dim NewMenu As Long, FndWindow As Long, FndWindowMenu As Long
NewMenu = CreatePopupMenu
FndWindow = wnd ' Menu to Add to
'this is where you can add sub menus to the menu you create
'you can add as many as you like
Call AppendMenu(NewMenu, MF_ENABLED Or MF_STRING, 0, Mnuitem) 'You can also add as many items as you want
Call AppendMenu(NewMenu, MF_ENABLED Or MF_STRING, 1, "Test2")
'this is the min menu
FndWindowMenu = GetMenu(FndWindow)
Call AppendMenu(FndWindowMenu, MF_POPUP, NewMenu, MnuCap)
End Sub
Popupmenus Wont Close (Annoyed_) -
Well im trying to have multiple popupmenus.
I have four labels.
each launch a popupmenu when you click on them
the code for doing that is
popupmenu formname.menuname
now the problom im having is you see how your typical windows drop down menu when you have it drop down and you m Creating Menus -
How do I create Popupmenus with API ?
And add the contents of the Start Menu to it ?
!!! -
Hello,
This would be your web server that you are placing your new visual interdev project on(where you will be placing your asp and htm pages). I always select local mode.
ListView!! -
I've seen listviews in other programs that have embedded controls, like progress bars or combo boxes. How in the heck do they do that? Can you do it in VB? (Aside from just placing a combobox on top of a listview...)
I have come accross something that no one can help me with. -
It seems that with all of us avid coders here on the board and the lack of replies, that I have come across something that no one can help me with. I have posted a few times about this issue because finding the answer is very, very important to me. I am terribly sorry for my reposts, o Popupmenus + Icons -
Hello,
Is it possible to put some icons in front of a menu or popupmenu? Just like the menus in Windows
thanks
Placing popupmenus into other programs -
Hi, basically i have code that creates a menu inside another program, ie it lets me put a menu into notepad called "Alistair".
However I cant work out (Becuse im dumb) how i get the items in the menu to do stuff?
So does any1 know how?
Thanks for any help
I think label in the popupmenu -
i have menus i made that are invisable that im using as popupmenus, is there anyway to make the top menu text not clickable, like it would be a lable, or a caption of the popup menu?
[First part RESOLVED] Controls in a msflexgrid -
What's the way to go about placing comboboxes, radio buttons and checkboxes in some cells of a msflexgrid? I mean is there any special consideration aside from just placing it there manually or at run time after having calculated the position according to the target cell?
Placing chr(13) in a textbox -
Hi,
Could some1 help me on placing a chr(13) in a textbox without it coming out as a square?
Thanx
Fading Forms -
I am trying to make a fading effect for forms, just like popupmenus in windows 2000. I have attached my work so far with this post, i would really appreciate if anybody can help me complete this thing. Any ideas would be highly appreciated.
How to use DLL created in VC++ on VB programs -
Goodday everybody...
I would like to know how do i use DLL developed in VC++ in VB programs? What are the procedure i need to do to link it to my VB programs and how do i actually use the functions available in the DLL on my VB programs?
Your help will be most appreciated...
Drag and drop to systray -
How about placing drag and drop on the image that you are placing in the system tray
Use DLL in VB programs -
Goodday everybody...
I would like to know how do i use DLL developed in VC++ in VB programs? What are the procedure i need to do to link it to my VB programs and how do i actually use the functions available in the DLL on my VB programs?
Your help will be most appreciated...
Assigning menu shortcuts on runtime -
Is that possible?
As I have a few popupmenus that are using the same shortcut, but appears on different forms. I get an error when assigning the same shortcut in the Menu Editor. So the only way is to do it during run-time.
Thanks
Harddisk
Where are the nifty controls -
Ok, so I'm beginning with VB (not with programming). I learnt using MDI, menus, coolbands, listviews, ADODB etc.
But I cant find how to display nice bitmaps on menus (I guess it will be the same with popupmenus), or have a triangle on the listview columnheader to show the sorting or Populating a popupmenu at run time -
Hello all,
In a nutshell, I have a variable amount of items in a list view, now, what I want to do is populate a popupmenu with the text of each item. I'm sure there is a way to do it but the furthest experience I have had with popupmenus is the PopupMenu function
Edit other programs -
Hey all. I want to know how to make programs to edit other programs. For those of you who play starcraft, something like stardraft or a map hack, or anything. I am just curious on how to edit or change other programs using something I write. Like adding a menu to word, or creating a VB-Net and Mac -
I have several programs written over the years using VB6. I know basically nothing about VB Net except that I wouldn't really just 'convert' my VB6 programs to Net, but basically would rewrite them almost from scratch.
The only reason I can see to even do this if these programs wou Placing Icons in the quick lauch portion of the taskbar. -
Hello,
Does anyone know how to make a programs icon appear as a quick start button on the taskbar, during the install process of a program that you have made? I don't want to put it in the taskbar tray, just the quick launch portion of the taskbar.
Multiple Apps Using Same DLL -
I need your opinion.
We have multiple apps (2 or more) using the same 2 DLLs. My supervisor wants to distribute both DLLs along with each app, placing them in the install directory.
I am not convinced this is a good idea. I feel placing 1 set of DLL into the SYSTEM directory, Development help -
Hi I'm a new self tought programmer reasently some one downloaded one of my programs and the help file would not work they use W95B on a P166 all my programs were designed with the Visual Basic Deluxe Learning Edition and are just simple data base programs I've installed and tested al PopupMenus (DYNAMIC) -
Hi,
I'd just recently learned how to create dynamic menus using API calls. It works great to place/handle these menus on the form's menu bar, but unfortunately the PopupMenu function doesn't support menu handles. I believe there is an API that invokes a popup menu, but I have no i Can anyone(expert) help me here -
I want to bind to exe files together (i've tried the programs on the net they all have trojans in them and they exactly don't do what i want).
or
i want to make a container (sheild) exe that would hold the 2 programs together and when a user runs it it loads the 2 programs.
I'v Help with processes -
I am currently writting a program that has the capablity to open other programs such as notepad and calc.exe, but on the close I have to be able to close all these programs. I am currently using the shell command to execute the programs but how can I close the programs.
Can I use t Removing or clearing programs from windows -
Subject: Removing or clearing programs from windows.
I can open then close some of my VB programs that I
created then do a "Control-Alternate-Delete" and it still
list my programs in windows. I have a habit of using
the boxed "X" in the top right hand corner feasability of a multi-dimention array.. -
I'm working on my 3rd program for work. Its huge... so i'll probably be on here alot lol.
Anyways. The first section is for show reports.
I have this data...
Show Name, Where, Data etc
---within the show is a number of Events, with data for each
Name of event, where held, etc Upgrade Old VB Programs to VB2008 Express -
Hello,
Any "How to" guides, instructions, programs, advice, or whatever to help me get old VB programs into VB2008 Express would be greatly appreiciated.
I used to write VB programs just to help with certain tasks in my job. I have a bunch of programs/rouitines going b Programs Menu Settings -
Hello Everyone:
I would like to know if and how you can change the programs menu (Click on Start-> Programs-> Menus->) width in MS 98SE. I.E. in MS 4 NT you can change the Menu so that you get a list of programs side by side so you can see all of the programs, Instead of h ASP.NET application design aproach -
Hi
I've just graduated from ASP to ASP.NET. I'm currently working on a project that serves as a front end to an SQL SERVER database.
The aproach I have taken is to put everything, from the login screen to report generation on one page by placing each of these sub components in Placing data -
Hey I'm pretty new to this and was just wondering what the easiest way of placing data into an edit box at runtime is. The program that I am running is retreiving data on a CAN line and I need to display the data line by line in a edit box to view the messages being recievd at runtime. How to creating an instance of an ActiveX control without placing it on a form -
Dear The Expert,
How to creating an instance of an ActiveX control without placing it on a form? (ie. to create textbox control in module1.bas) and
how to trigger the event?
please advise ..
Regards
Winanjaya
Advertising in VB programs . -
um....does any one know good ways to implement it, and where to get banner ads/affiliate programs for programs?
Use DLL in VB -
Goodday everybody...
I would like to know how do i use DLL developed in VC++ in VB programs? What are the procedure i need to do to link it to my VB programs and how do i actually use the functions available in the DLL on my VB programs?
Your help will be most appreciated...
Placing Text at Selected Position in Textboxes -
How would I go about placing some text over the selected text in a text box (like Text1.SelText = "New Text" in VB) using JavaScript.
I got a small Menu problem, need help, much help ! -
Hi there !
I have a little problem with menus, Popupmenus...I don't like the colors of it, so I changed all the colors, except I can't change the colors of the border, I REALLY REALLY want to change the menu borders colors...if you know just the smalest thing about doing this, please Aspx Page code Inline VS Seperate file -
Could someone give me their opinion on placing the code in a seperate file as opposed to placing the code in the same file. Maybe give some advantages and disadvantages.
I normally place my code in a seperatefile, but I've been thinking more and more of using the same file. I'm usi Placing dynamic controls on TAB-control (SSTab) using VB 6.0 -
Hi,
I am using Visusl Basic 6.0 and here is my problem.
I am having trouble placing controls (check/list/text boxes etc) on
a tab-control (SStab) during run time. I am able to create the objects, but I can not see them as they stay behind the tab-control. I tried making Tab-con Start|Programs fly-out-menus -
Under Win95 and Win98, when I clicked Start|Programs, the single vertical list of programs that would fly out would have an arrow-type-button at the top or bottom if there was more at the top or bottom of the list. Now under WinME, when I click Start|Programs, I get a multi-column fly Two Programs Communicating -
Hey guys, I know there's a way to make VB programs communicate through UdpClient(), but is there any simpler way of doing that? Both programs are located on the same computer and they will not send big amounts of information back and forth...
Thanks,
jonwondering
|