|
I'd reply to you more directly if I thought the [email] button worked...
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Can you email me on:
mm603008@spamcorptastic.com
It's a self destructing email address, so you'll need to be a little speedy!
If you'd rather stay private, I'll respect that too.
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
yes its for a particular static text...
Now what i have done - i have done subclassing for a class
i which i have handle Mouse Move event
and i my project i have created an object of that class and used my static control in it.
|
|
|
|
|
Is API SetCursor helpful ?
Regards,
Paresh.
|
|
|
|
|
Yes ...sir ...
Got a success
thanks....
|
|
|
|
|
I like CPallini's reply - it's a good hacky one!
But if you're using MFC, it's also worth reading the following article:
http://www.codeproject.com/KB/miscctrl/hyperlink.aspx[^]
You can just remove the painting stuff from his article, and it will still show a cursor of your choice. And it should be a good learning exercise for the future.
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
hi to all,
I am not able to create an object of CDatabase in a generic class.
Actually I want to access the database reading functions from different dialogs. So I thought of having a class in the application, and I can create the object of that class from any dialog class and use the functions(read_database_data).
But I am not able to create the CDatabase object , since it is a generic class. I know I have to inherit something .
Could you please suggest.
I am a beginner
<div class="ForumMod">modified on Tuesday, March 10, 2009 6:08 AM</div>
|
|
|
|
|
#include <afxdb.h>
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
I have developed a sample Adobe Acrobat plug-in(.api) file using Acrobat 6.0 SDK for Acrobat reader 6.0 using VC++ 6.0 as tool.
I am unable to load that .api file into Acrobat reader 6.0.
How to load the .api file into Acrobat reader 6.0?What's the procedure involved in it to do so?
Please help.
Thanks in advance.
|
|
|
|
|
|
|
didnt you ask this same question some 20 hours ago ?
please try and do some research for yourself ....
'g'
|
|
|
|
|
You cant see answer because you deleted it!
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
- ns ami -
|
|
|
|
|
Hi to all,
How to make the application hidden in task pane. I wanted something like GTalk. when I minimize it it should be running. I can maximize it from task pane. But it is not visible in the Task Bar.
Thanks in Advance
I am a beginner
|
|
|
|
|
The ShowWindow() call will do the job. -> SW_MINIMIZE
Greetings from Germany
|
|
|
|
|
you should use Shell_Notify() function to Show the icon in quick start bar and use ShowWindow(hWnd,SW_HIDE) to hide the minimum icon in tool bar.
|
|
|
|
|
Hopefully [^] will help you. The article minimised the program, without showing a program on the program list (can't think of the proper name) in the shell - but you can restore it by using the Notify Area / System tray.
Read the article - I'm doing a terrible job of summarising.
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Hi,
I would like to find out which window is active (e.g. in taskbar we have several applications are running ADOBE, Winword, Excel.... and I am working on winword). I would like to know how to get the current application name or file name (e.g. test.doc). Pls suggest.
Thanks
SNI
|
|
|
|
|
You can use of EnumWindows for enumerates all windows and then you can use of IsWindowEnabled,Is it enable window or no.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
thanks for this.
Can you help me to find out file names (e.g. Two excel files are open Book1.xls and Book2.xls). How to get the name of file which is having focus.
Thanks
SNI
|
|
|
|
|
HWND hWnd=GetActiveWindow();
char *s;
GetWindowText(hWnd,s);
Then compare s and file name to get focus window.
strcmp(s,filename);
|
|
|
|
|
char Buffer[100];
HWND hwnd=::GetForegroundWindow() ;
::GetWindowText(hwnd,Buffer,sizeof(Buffer));
a beginner
|
|
|
|
|
Do I need to use it?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
sWindowEnabled only check if this window can recive the keyboard and mouse event ,there are many windows can do this ,you canan't find the right window you need
a beginner
|
|
|
|