|
If I create a new edit control class derived from CEdit and handle WM_CONTEXTMENU this gets called when you right-click in the edit control, as you would expect. However if I do the same with the tree control, it only gets called when you double right-click, does anyone know why this is and how to make it respond to single right-clicks?
Thanks,
Mark
|
|
|
|
|
|
Thanks Tomasz, you're a star!
|
|
|
|
|
Can Any body help me regarding DDE. The following is the problem.
I want to communicate with an Application which is already communicating with some application using DDE.
at the moment I have completed these tasks.
I get the information of the servers and I have also build up a conversation path with those servers. I do have all of the information of the registered strings handles.
At the moment my application could establish DDE Comunication.
What I want to know is that there is any mean to know the Data handles structure being accepted by the server application.
please tell me this
regards
Asim
|
|
|
|
|
Hello,
Any simple way to rotate the whole content of a view from 0 to 360 degrees?
I need GDI method, so that it can work on both Win98 and Win2000. It is simple with GDI+, but it is a way long porting the whole project to the GDI+.
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
|
Nice reference, thanks so much.
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
Hi all,
Q1- How can i create .HLP file for my program ?
Q2- I wanna when user need help in one of my dialogs in program, and when user hit F1 button, then program show the help which user need ! ok ?
Please help me !
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
Hi again Mr.Michael,
Are you sure your URL address is right ?
Because, my browser shom me the error like this, This URL not exsist !
Can you check it again ?
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
Hi all,
I'm writing program in Dialog-based mode !
I have a toolbar on that, i wanna set Tooltip for all button !
I tried CBRS_TOOLTIPS flag in SetBarStyle function,
But i don't know how can i set tooltip !
Please help me
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Check the DLGCBR32 sample that comes with VC6. And please stop using exclamation marks at the end of every sentence.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
Thanks Tomasz,
Your help was very useful !
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I would disable Help button on the "Customize Toolbar" dialog box
but I wan't use the caption of the control for a code independent of the language.
Thank you for your collaboration.
|
|
|
|
|
Hi!
Question: can I programmaticaly install the driver (printer driver, to be more specific), and if I can - then how? Do I need for this to deal with DDK? I'd never touched it before.
I cannot find something useful in the MSDN.
I mean conventional install, not hacking the registry.
Thanks in advance.
Regards,
Gennady
|
|
|
|
|
Which printer driver? I tend to just call the drivers own setup program from my setup. If it is a third party driver and not one of your own, using their installer is a lot easier.
Have you looked at AddPrinterDriver and AddPrinterDriverEx?
Michael
|
|
|
|
|
Thanks, Michael!
AddPrinterDriver is exactly what I looked for. Cannot understand, how I missed it !?
Thanks once more.
Regards,
Gennady
|
|
|
|
|
- I want to implement such function:
- When I press an "Enter" key, the program stops immediately and a messagebox occurs. When I press any other key (after closing the messagebox), the program goes on.
- Can you give me a sample code?
- Regards,
Maer
|
|
|
|
|
Is this an MFC application. Does the GUI have any controls on it such as edit controls. Look at WM_KEYDOWN for catching the Enter key.
Michael
|
|
|
|
|
May I add the avi to the resource file my project? If yes, then how?
Best regards,
|
|
|
|
|
Yep,
Just select Insert->Resource (or Ctrl-R), press the Import... button, change the "Files of type" field on the file dialog to All Files, and select your .avi file. When it gets imported, you need to give it a custom resource type, which will just be a string (for example, "AVI"). Then, when you want to load the resource in your program, you need to use this string as a parameter to the FindResource function:
HRSRC vhMyAvi = FindResource(vhMyModuleHandle, MAKEINTRESOURCE(IDR_MY_AVI_RESOURCE), _T("AVI"));
Hope this helps.
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
I have syntax color problem.
Can i use two different color for user define data types.
--------------------------------------------------
Say Whatever You Know.
Helping other people is good for health.
=========
Manish
=========
---------------------------------------------------
|
|
|
|
|
if I want the user to input a integer, how can I check to make sure they don't enter a letter, and then if they do enter a letter, to be able to ask that question again?
|
|
|
|
|
Check the 'number' box for your edit box in the dialog template. You *can* also use DDX, where you set the variable associated with the dialog to an int, and specify a range, but I prefer to catch changes in the edit box and handle it myself, as the default method is too obtrusive and annoying.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
|
|
|
|