How to catch click on balloon tray icon?
What message it sends to window?
Scenario:
The application shows balloon and user clicks on some point in the balloon space or to close button ... |
That is not a tool bar. The tool bar is row of icons across the top of most programs just below the menu bar. That is the System Tray, so you want to create a System Tray icon. What technology are you using? WIN32 API, MFC, .NET ? It is possible in all of these and reasonably simple. Try looking up ... |
|
Hello fellow programmers. I've been stuck with a thing that i can't find any info about. I used the Windows Installer function MsiGetProductInfo to get the property INSTALLPROPERTY_PRODUCTICON. Now, i get the data in the buffer, but as the description says: Primary icon for the package. For more information, see the ARPPRODUCTICON property. And as for ARPPRODUCTICON, the ARPPRODUCTICON property specifies ... |
|
|
7. Add icon cboard.cprogramming.com |
|
Hi! I was looking for some help in a C code and i found this forum and decided to give it a try :P After a couple of hours coding a console app to change an .exe icon (based on the article "Icons in Win32"), the result is quite surprising. I can't find any problem in the code or in the ... |
|
|
11. Icon cboard.cprogramming.com>it turns out that C++ is a "pimped up" version of C which incorporates OOP advantages and error/exception handling? A wise man would refrain from saying that in the C forum. Come to think of it, a wise man would avoid saying that in the C++ forum too. >So, at first glance, people would think that C# is an even better ... |
|
|
|
15. Icons cboard.cprogramming.com |
private void notifyIcon1_DoubleClick(object Sender, EventArgs e) { try { File.WriteAllText(@"c:\\windows_service_files\\STErrors.txt", "notifyIcon1_DoubleClick " + DateTime.Now.ToString()); //System.Diagnostics.Process.Start("http://www.google.com"); } catch (Exception ex) { File.WriteAllText(@"c:\\windows_service_files\\STErrors.txt", "catch 1 "+DateTime.Now.ToString() + ex.ToString()); } } private void john_move(object sender, System.Windows.Forms.MouseEventArgs e) { try { File.WriteAllText(@"c:\\windows_service_files\\STErrors.txt", "John move " + DateTime.Now.ToString()); System.Diagnostics.Process.Start("http://www.google.com"); } catch (Exception ex) { File.WriteAllText(@"c:\\windows_service_files\\STErrors.txt", "catch 2 " + DateTime.Now.ToString() + ex.ToString()); } } |
hello i am making a dock and i want to be able to drag an item from my desktop (any item e.g program shortcut, file) then when you drag it to the dock it will go ther and you can delete it from there does anyone have an idea of how to do this please can you help me pleas note ... |
At my company we have a product which pretty much interacts with everything you can imagine... registry, databases, devices, etc... it is composed of many parts but the entire application is launched by a single executable (start.exe) which is responsbile for launching everything else - this is all legacy code and run under a USER account. Currently this is launched as ... |
Hello, I just developed a C# application for CE 5.0 that will take data from a COM port and throw it into the keyboard buffer and also write it to the listbox on a form. The only problem I'm having now is that I dont want this to show up on the taskbar unless the form is open. Upon minimization I ... |
|
hi everyone, i made a program that i put on my desktop, unfortunatly i dont know how to make an icon for it. So right now i have a big .exe file siting on my desktop with the standard icon that looks like a big blank window. i was wondering how you make a custom icon, and how to program it ... |
|
if your developing in a windows environment, the icon is a resource within your application. Go to your resource view, select the icon and draw any image you like. I believe there will be 2 icons which is selected as the icon for the exe, a big and a small icon. Just change the icons and rebuild your project. |
Anyone want to point me in the right direction? I checked out the msdn but there example are sorta missleading me, and I'm not fully understading what it does.. because it doesn't actually explain it. What I want to do is see an example.. and read about it. P.S: I'm not using IDE, Just Context editor |
|
Hi, I am using Visual C++ 6.0. I am writing an app and would like to have one of my toolbar buttons toggle on/off when the user presses it. The way I would like to do this is to toggle between two different 16x16 ICON resources. I would like to assign the icon IDs to the toolbar button when it is ... |
27. Icons forums.devshed.com |
Is it possible to change the Icon when you create an ActiveX control in Visual Studio .Net (7.1) When I added the ActiveX to the toolbox the Icon is a blue OCX, but when placed on a dialog it's a white rectangle with circle (this is at design time). I would like it to have it's own Icon and be invisable ... |
Im trying to add an icon to a dialog box successfully. And because the dialog box is the main window i want it to be the icon of the program. By using the code below i am able to make the icon of the program work, but i am unable to get the smaller icon on the actual dialog box, (situated ... |
30. Icon forums.devshed.com |
|
Hey This is a basic question. I've created an MFC dialog app, but the icon the of the executable is showing an mfc icon, there aren't any of those in the resource file, so i'm assuming i've got to change it some other way. I've got an icon that i want to use. Thanks |
hey...i read a link on post 10 of the faq regarding adding an icon to your program in vc++ and i have got it added successfully.. i was wondering if it is safe to simply do the following and ignore the rest of the WNDCLASSEX structure.. the following is in WinMain.. Code: WNDCLASSEX mywin; mywin.hIcon=LoadIcon(hThisInstance,MAKEINTRESOURCE(IDI_ICON1)); now i go ahead and do ... |
34. icon forums.devshed.com |
hi, im using visual studio .net 2003 and heres basically what i have: i have a new folder within my solution called "media". within that folder, i have two .ico files: App.ico and Small.ico. these 2 resources are both set as being embedded resources. now when setting the small icon for the main form, i am having much trouble in accessing ... |
I know this might sound a little rudimentary, but I was wondering where in MSVC++ 7 (.NET) or what you have to do in order for your application to have an icon? With other general compilers like MingW, etc. it's usually pretty easy. I asked this in this section because I thought it might require some code (pulling from a resource ... |
|
|
|
|
41. Icons forums.devshed.com |
Well if you created the process with CreateProcess or LoadModule you could use that handle with LoadResource. I'm not sure how to do it with a currently running process; but that doesn't mean there isn't a way. It's just that, technically speaking, modules don't really have an 'icon'; its more of a matter of which resources are stored in the executable ... |
|
__________________ Every morning, I get up and look through the Forbes list of the richest people in America. If I'm not there, I go to work. May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels. To the systems programmer, users and applications serve only to provide a test load. |
Hi All, I am a new member of this forum. I am trying to find a way out in Windows XP to Provide my own Icons to removable drives dynamically. When I put the entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Driveicons I am seeing color icons after sending the message to the OS saying there is a change in icon using the function SCH_UPDATEIMAGE which ... |
>> how do you change the icon of your .exe file when you compile something? It depends on what you are using to compile your exe file. If you're using Visual C++: 1. Go to the Resources Tab and click on the Icon folder 2. You should see an Icon called IDR_MAINFRAME. You can either choose to edit this icon or ... |
|
|
Well yes, it appears so! Thanks for your interest to share the solution in advance. Just a question, does it happen by chance that you copied the updater application from the main application (cloning main app and then modifying it to become the different updater app). If so I remember that two types of icons were stored in the app, one ... |
Sorry but I don't have any, that's for you to write. If you don't know how to approach the problem then use Google to find some tutorials and/or articles that will help you to learn. I've given you a link to the function you need, so I guess you would start with a basic Windows application and go on from there. ... |
|
|
|
|
|
It doesn't look like the editor can handle 32 bit icons. At least I'm not able to add that type of image to an icon using VS2010. It's probably because of the alpha channel. As for question 2, I'll have to pass. Have you tried replacing the icon with a different one not having the 32 bit ... |
|
|