|
|
|
Hi all
Is there any possibility to add tooltips to resource like bimaps.
please help me.
-- modified at 23:47 Thursday 1st February, 2007
#sanroop#
|
|
|
|
|
Sanroop wrote: (Urgent)
O'Rly?
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்ம குரு
|
|
|
|
|
Sanroop wrote: Is there any possibility to add tooltips to resource like bimaps
yes. you will be showing the bitmap in some window na? So u can add tool tip to that window.
nave
|
|
|
|
|
Thanque for u r reply
here iam pacing the bitmap in Richedit like chatting emotions.here the requirement is add tooltip to that bitmaps on recieving side.
#sanroop#
|
|
|
|
|
derive a class for the richedit( or u have to do it in the PreTranslateMessage function of the dialog )
overide the WindowProc function and call the RelayEvent of the tooltip from it( u need to create an object of CTooltip in that class)
Also overide the mousemmove message of the richedit control. In that function Check the mouse is over the bitmap, if yes call AddTool function of the tooltip with the message that you want to display. If it is not over the bitmap remove the tooltip using DelTool .
nave
|
|
|
|
|
|
hello
i need to know how i can i write a code to take a pic with a webcam writting a code for it in C++ then save it as bitmap then read it in a code to compare it to as same pic about with nothing in there??????
|
|
|
|
|
Which bit are you stuck on ? ( at least you found the right forum ). Did you download the PSDK and look into directshow, as I suggested ?
ricardo montemayor wrote: save it as bitmap then read it in a code to compare it to as same pic about with nothing in there??????
Do you mean compare a picture with one taken earlier to see if it has changed ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
|
How to add menu items when right click on a file and link it to customized executable
[Like for folder, add a key & command at HKEY_CLASSES_ROOT\Folder\shell\]
|
|
|
|
|
HKEY_CLASSES_ROOT\*\Shell
nave
|
|
|
|
|
Hello everyone,
My general question is about Commercial Software Application. Are they (Commercial Software Applications) are also designed using the same Good Old Win32 APIs or they use a different approach?
Base on what I have learned on the last few days, I would say YES as long as they are supposed to use Windows Operating System. But I would like to hear your expert opinion on this, please.
Thank you,
Khoramdin
|
|
|
|
|
If they run on Windows then yes they use the same good ol' Windows APIs, directly or indirectly.
The Windows operating system is the only layer between application code and the hardware.
Even if you only use the generic C Runtime Library (CRT), the version of the CRT for Windows maps
all hardware-related stuff to Windows APIs.
Mark
|
|
|
|
|
Is there any way to deny focus to an application?
Trivial example: non-focused (MFC) application with a single button (might have to implement as label) that, when clicked, sends a Unicode string (example “\u8000”) to the application (e.g. excel, word, notepad) that does has the focus.
Behaviorally, with these 3 applications and the desired non-focused application on the desktop, the user could switch among the applications and send the string to each when the non-focused application is clicked.
|
|
|
|
|
dmailman wrote: when clicked, sends a Unicode string (example “\u8000”) to the application (e.g. excel, word, notepad) that does has the focus.
By the time the button is clicked, your app (and not Excel, Word, etc.) has focus. I recommend caching the currently active (non-self) main window every few mSec and targeting it when the user presses the button.
/ravi
|
|
|
|
|
What about handling the WM_MOUSEACTIVATE in the button's parent window and returning
MA_NOACTIVATE (I haven't tried it)?
Mark
|
|
|
|
|
Many thanks for all the suggestions...they were very clever.
I ended up using the WS_EX_NOACTIVATE style in creating the window, and that worked just fine.
thanks again.
|
|
|
|
|
Hello,
If I am not mistaken the Spy++ should be available when I have my Visual C++ window up and running.
unfortunatly, I am unable to see this options. I believe I should have it under "TOOL" option, but when I check this menu option I cannot see it!!!
Could you help out regarding SPY++?
Thank you for your time,
Khoramdin
|
|
|
|
|
Is it not in your menu group for VC ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian,
I don't have a Menu Group which contains only two items:
1- Visual Studio Tools
2- Microsoft Visual C++ 2005 Express Edition
Khoramdin
|
|
|
|
|
Oh, you have the express edition. That's probably the problem
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hello,
What edition do I have to have in order to get the Spy++?
Khoramdin
|
|
|
|
|
Khoramdin wrote: What edition do I have to have in order to get the Spy++?
Any of the non-Express editions.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|