|
by: Eddie de Bear |
last post by:
Hi,
A project I am working on has a requirement for dynamic
menus. For the most part this works really well.
The menus I'm creating a based on files and directories,
so naturally the menu creation takes some time.
The approach I took was to override the OnSelect method
of the MenuItem class, which had code to populate the
|
by: Doug Bell |
last post by:
Hi,
If I modify my Registry adding a new key HKEY_CLASSES_ROOT\*\shell\Use My
App\command with a (Default) Value of C:\Program
Files\Doug\DotNetApps\MyApp.exe "%1" then right clicking on files in the
Explorer Windows opens the context menu with the option "Use My App" and
selecting this runs My App with the selected file name.
Just as I...
|
by: todorov-fkt |
last post by:
Hi,
I know that Windows comes with own icons and bitmaps for menus, toolbars,
etc, which are compiled into ressource dlls. Is it possible to use these
images into the own program and how do I do that? I suppose these images all
have some name, which I would use to get the icon for let's say "New File"
and put it on my apps toolbar... Is...
|
by: Dragos Dutu |
last post by:
Hello people!
I have a quite complicated question.
While creating a ToolBar in code, it is possible to pass the standard icons located in COMMCTRL to the image list of the ToolBar. I'm talking about the icons that most of programs use, like:
STD_COPY, STD_CUT, STD_DELETE, STD_FILENEW, STD_FILEOPEN and so on.
This is very useful because you...
|
by: Robert Smith |
last post by:
Hello,
I have written some context menus in my application, however I see
lots of nice icons on the menus that microsoft use. It is not obvious how one
would add these icons to the menu items. Ideas ideas how you would do this.
Thanx in advance
Robert
|
|
by: Matt Michael |
last post by:
Hi, is there any way to add menu items to a context menu with icons next to
them. When I declare a menuitem, it does not seem like there is a .icon
property or anything similar or intuitive like that. An example that
illustrates this is right clicking on your desktop, choosing "New", and for
each type of file it displays a different icon next...
|
by: Siv |
last post by:
Hi,
I have an MDI application that uses a generic "ShowPage" routine in a module that is called when I want to display a child form. The basic idea is that in the module I have declared each form as follows:
Friend F0 As frmMain
Friend F1 As frmStart
Friend F2 As frmSearch
Then in my ShowPage routine (which is passed a string "pageToShow"...
|
by: sonu |
last post by:
Hi,
Is it possible to attach the icons to the menus in VB.NET.
I have read we have to use ownerdraw menus to do this.
Does anyone know more than this.
Sample application would be a better help.
Thanks in advance.
|
by: Siv |
last post by:
Hi,
I have just searched MSDN and Google and can't find a tutorial about how to
add icons to menus in a VB.NET or C#.NET Windows Forms application.
Does anyone know how it's done or can point me at a tutorial that is easy to
follow.
In anticipation, thanks.
Graham Sivill
Martley, Near Worcetser UK.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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. ...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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...
|
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...
|
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: 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...
|