|
You are welcome!!!
Cheers!!!
Carlos Antollini.
|
|
|
|
|
Welcome to the jungle.
I vote pro drink
|
|
|
|
|
Hi there,
I am having problem with a TreeCtrl that I have. As it stands, if I right click on the area passed a tree item, it will still think that i have clicked on the tree folder item or its text and provide the same context menu.
How do I force this thing to recognize whether it is clicking exactly on the treeview item text and folder or the blank area in front of it.
thanks
|
|
|
|
|
Perform a hittest and then check if the flag is TVHT_ONITEMRIGHT which is to the right of the item
Bret Faller
Odyssey Computing, Inc.
|
|
|
|
|
i'm usein mfc wizard with dialog based app. i put a msflexgrid control and managed to populate the first cell. i can't get the data to move down into the second row, it insists on remaining in the top row and when i try and add in a second piece of data for the next cell below it always takes the last data entry and replaces the first. can someone with more experience then i help please!!
|
|
|
|
|
Hi,
I'm compiling Keywords to add to my XEmacs Syntax Highlighting... I added all the win32 basic types and am now wanting to add MFC Class names (like CTreeCtrl), however even google doesn't seem to know where to find a simple list of all classes... I don't really feel like copy and pasting, I prefer scripting the operation,....
does anyone know where to find a complete list that is copy-able?
-- Arjen
|
|
|
|
|
Perl will do that in a pinch.
foreach $a ( <C:\\msdev6\\vc98\\mfc\\include\\*.h> )
{
open HEADER, $a or die $!;
while ( <HEADER> )
{
print "$1\n" if /^class (\w+)/;
}
close HEADER;
}
--Mike--
http://home.inreach.com/mdunn/
You are the weakest link, GOODBYE!
|
|
|
|
|
Hi.
What can I do to chenge Edit Box text color & BackGround color.
Iman Ghasr-e-fakhri
|
|
|
|
|
In the parent of you Edit control, handle the WM_CTLCOLOREDIT, this will allow you to set the forground and background colors in the DC that will be used to paint the Edit control.
|
|
|
|
|
In MS Word 97, when I drag any toolbar (such as drawing toolbar) and drop it on the main client window, it becomes a window with small title bar. It makes me surprised that when I click on a button on the toolbar, the cursor on MS Word window still blink and MS Word window is still active. Vice versus, when I type, the toolbar window is still active. I try to create a window like that by the API Fuction CreateWindowEx and set window style as WS_Ex_TOOLWINDOW, and its parent as another window;
However, this window becomes de-active when I click on its parent window. I wish to receive any explaination for this phenomenon. Thank you very much.
|
|
|
|
|
Hi there,
I was wondering if there is anyway to disable a submenu in MFC.
Since you create a submenu by selecting "Popup" option under the menu item
and there are no IDs associated with this Popup menu, I am not sure how you can modify the menu.
thanks
|
|
|
|
|
Are you saying that you want to have a menu with x number of sub menus but grey out the top level menu?
Ralph Krausse
www.consiliumsoft.com
Home of FastRun, the only application launcher that integrates itself into the taskbar!
|
|
|
|
|
Try this code. x represents the number of the menu, zero based.
CMenu* pMenu = AfxGetMainWnd()->GetMenu();
pMenu->EnableMenuItem(x,MF_BYPOSITION|MF_GRAYED);
|
|
|
|
|
The solution was published in Feb'99 issue of MSJ, in "C++ QA" column by Paul DiLascia. You may have this article in your MSDN, if not, it should be avialable online at msdn.microsoft.com.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
Does anyone know of a shareware/freeware tool that will take my function, file, and class headers and make them into an HTML file? I get hooked on this ability w/ the DotNET beta 2 XML comment stuff, but here at work I'm still using 6.0 and I think we could really benefit from generating docs from our source code comments.
Thanks,
Bill
http://www.ratebeer.com
|
|
|
|
|
|
Looks like exactly what I need, thanks a lot!
Bill
http://www.ratebeer.com
|
|
|
|
|
Hi,
Previously, while running in debug, i was able to edit my code and select "Apply code changes" from the context menu in VC++.
For some reason this ability has stopped and all i seem to get is the option "Apply code Changes" greyed out!
Can explain this?
|
|
|
|
|
Check Project->Settings->C/C++->General->Debug info. It should be set to "Program database for edit and continue".
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
That option was set, Any other ideas?
|
|
|
|
|
Hello,
I have developed an application in Visual C++.
It is working on my machine but not on other machines. I am missing the DLL: MFC42D.DLL
So probably the Microsoft Foundation Classes
are not available on that machine. A find for that particular file showed it was not available.
On a laptop where I tried the program the DLL was
available but a particular entry not. The DLL version was older that the one on my machine.
My questions are:
Where can I get a full installation pack for all
MFC files that I am using (but didn't know
about it)?
Is it somehow possible not to use MFC for GUI components?
Regards,
J hn
|
|
|
|
|
MFC42D.DLL is the debug version of MFC42.DLL. MFC42.DLL should be on Windows machines. Compile and link your application for release first.
Ralph Krausse
www.consiliumsoft.com
Home of FastRun, the only application launcher that integrates itself into the taskbar!
|
|
|
|
|
Yes you can build a fully featured application without the need of MFC. There are plenty of articles here on using WTL.
You can use Installshield Express that comes with Visual Studio to build a simple install for the dll you are building. The MFC redistributables can be included in that.
|
|
|
|
|
As I see it, you have four choices for making GUI app's.
MFC
WTL
ATL (yes, it's possible)
Plain Win32 API (Personal favorite )
If you have problems with MFC dll's, just use InstallShield to make the installer as Mark suggested, or link MFC static, then your app don't need the dll's...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Thanks for the reactions. You where a great help for me to finish my project.
Thanks
John
J HN
|
|
|
|