|
|
hi there,
if i add a handler ON_WM_KILLFOCUS() for modalless dialog box and if i try to go to some other dialog box or try to loose the focus then the killfocus function is not getting called at all.
why?
cheers
rajs
|
|
|
|
|
This article http://www.codeproject.com/dialog/killfocus.asp[^] may be of help.
Roger Allen
Sonork 100.10016
This is a multiple choice question, choose wisely
Why did the hedgehog cross the road?
A: To show he had guts?
B: To see his flat mate?
|
|
|
|
|
WM_ACTIVATE can also be used.
The handler gets the new window and the old one.
Max.
|
|
|
|
|
How can I query "my own" DLL version (i.e. the version a DLL which is loaded into the current process, and where the code to query the version is implemented in=
I have a horribly complex (and ugly) class that does this for any DLL, I wonder if there's an easier way for a DLL that is loaded.
TIA
Peter
Those who not hear the music think the dancers are mad. [sighist] [Agile]
|
|
|
|
|
1) Using the GetFileVersionInfo Win32 API, refer to MSDN for usage;
-OR-
2) Add a export function,say GetVersionNember,into your DLL for query its version number by its customer(client),the following is a simple example,
const WORD LOW_VER_NUM = 0;<br />
const WORD HIGH_VER_NUM = 1;<br />
DWORD GetVersionNumber()<br />
{<br />
return MAKELONG(LOW_VER_NUM,HIGH_VER_NUM);<br />
}
Hope this helps!;P
|
|
|
|
|
How to get the height of line in CEdit when there are lots of text with different fonts.
|
|
|
|
|
When I use LoadBarState to load state of my toolbar it is shifted by 4 pixels from the frame.
So it is impossible to save toolbar X and Y position less than 4.
To reproduce this bahaviour:
1. create empty MFC SDI project
2. add LoadBarState("barState"); at the end of CMainFrame::OnCreate
3. add WM_CLOSE handler to CMainFrame
4. Add SaveBarState("barState"); at the beginning of CMainFrame::OnClose
Run the app, close it, then tun again -> toolbar is shifted
|
|
|
|
|
Hello,
How can i check a installed language on user systems ?
For example check the Arabic language !
Regards,
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
|
Hi,
Check this in MSDN, may be helpfult to you:
The GetUserDefaultUILanguage function retrieves the language identifier (LANGID) for the current user language.
LANGID GetUserDefaultUILanguage(void);
|
|
|
|
|
can anyone tell me how to put the whole content of scrollview into one bit bitmap?by the way, I don't know the content of the window,is it difficult?
thanks
|
|
|
|
|
I have to create a Visual Studio Installer Project
in order to install my application (a single executable file)
and a Freeware Tool (as in example Acrobat Reader).
I can't find the way to let the Freeware Tool installation
executable file to be launched by the Visual Studio Installer Project
(during the installation of the mine application) !!!
Which settings have I to do in my Visual Studio Installer Project?
Thanks a lot !!!!
|
|
|
|
|
|
If I have well understood, you suggest me to insert a line of code
in my application in order to launch the installation file.
I'd like to don't modify the source code of my application.
I'd prefer that the installation package makes this operation.
Is it possible ??
|
|
|
|
|
The executable file cannot execute itself until the user,the system or the other program launchs it!
By the way,what's your installer for? why you dont want to add the line of code?
|
|
|
|
|
This is the situation:
I have developed an application that uses DAO interface.
This application has to run in any PC (WINNT) and I don't know
if Access (or the DAO support) is installed.
But I have got the executable file (MS Redist) that installs the
DAO support.
I have to create an installation package for my application
(.msi file) and I'd like that this package installs the DAO support
before installing my application.
I don't like to insert a line of code in my application in order to
solve this problem, because is not a software requirement required
by the customer and because my application has already been test.
I think that it is possible to solve this problem but I don't know
how !!!
|
|
|
|
|
Ask the user manually install this packet before launch your installer
|
|
|
|
|
Hi,all...
How to make a standard Win32 screensaver ONLY with C/C++(VC6+Win32API+MFC)?
Any articles,samples,or other related URLs are welcome, thanks!
|
|
|
|
|
Hi,
Check this link:
http://www.funducode.com/freevc.asp
|
|
|
|
|
|
Hi all...
I'n new to VC++ development company.I need to create an Active X control(like one listbox and image) and I plug in to I.E 5.5 tool bar with out using the ATL COM APPWizard.After searching in our website ,they gave the link
http://www.codeproject.com/atl/ietoolbartutorial.asp
It asks to install
1)RBDeskBand ATL object Wizard(version 2.0)
2)CWindowImplATL Object Wizard.
Without installing these,I need to create..Please send me the steps quickly.
I should finish within TWO DAYS.my mail id(if possible send to here also) : vcarivu@indiatimes.com
After all tries,I have hope only with our peoples in this site....Otherwise I can't survive here..
Thanks for viewing this.Please help me.
Ever friendly,
Arivu
|
|
|
|
|
I have to wonder why you are avoiding ATL, since without it you'll have a LOT of COM grunt-work to do. You can still use Erik's sample, just remove the ATL base classes and implement all the COM methods yourself.
Also, an IE toolbar is not an ActiveX control, so I think you need to read Erik's article to understand how toolbars work in general.
--Mike--
I'm bored... Episode I bored.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
Dear Michael,
Thanks.My superior needs like that.Already I'm new to VC++ environment.
I know only basic MFC concepts.In this situation,I know little bit of ActiveX Controls only.I don't know anything about COM.
I understand IE toolbar is not an ActiveX Control.In that IE toolbar I have to put an activeX controls.
I need two things...Could you clear me?
1)Suppose if I want to do this using COM means what to learn?.
2)How to do using ATL?
From thie Erik's article...If download and Extract ,it display the message in
messageBok like that service is already available.If I search it,I found that the service is in Visual Studio .NET folder.Can I remove the Visual Studio .NET and and install it?.
Here nobody is there to help me.
Thanks for u're immediate help.
Arivu
mail id :vcarivu@indiatimes.com
Thanks for viewing this.Please help me.
|
|
|
|