Type: Posts; User: ovidiucucu
Search took 0.23 seconds.
March 25th, 2014, 11:19 AM
That "area" exists in VS6.0 and even older versions, as well.
March 21st, 2014, 09:46 AM
Probably, you got anoter window handle. Just use Spy++ to see if that's true.
And/or try this:
HWND hWnd = ::FindWindow(_T("XLMAIN"), NULL);
if(NULL != hWnd)
March 3rd, 2014, 08:28 AM
Correct, except my nickname. :) ;)
March 1st, 2014, 12:13 AM
And of course, have a look at this FAQ: How to detect memory leaks in MFC?
February 26th, 2014, 09:57 AM
...or can make a copy, then change the extesnion to .XML and open it in a browser (e.g. IE).
AFAIK, AdmX.exe, shipped with Windows Server 2003 Resource Kit Tools, is an old parser for .ADM...
February 25th, 2014, 10:45 AM
It returns a list of GPOs but not a list of GPO settings as the OP shows in the picture.
Everything may become "well explained" after digging a little bit. :)
Programmatically deal with GPO...
February 24th, 2014, 08:51 AM
Just a hint: use IGroupPolicyObject interface.
February 20th, 2014, 03:56 AM
...and probably, he/she doesn't use tape backup API anymore. :)
February 18th, 2014, 01:28 AM
No need much imagination to look at (the only one) exported function GetRuntimeClass as at an "interface", as well. :)
February 17th, 2014, 02:02 AM
Well, let's imagine now we have an application with a bunch of hundreds operations.
Each one is made in a modeless child dialog (or other kind of window, let's say it "panel") which must be...
February 15th, 2014, 04:37 AM
True, Igor, but the Internet has also tons of examples complying about troubles of using MFC dialog (and not only) from a regular DLL, many of them starting with this comment added by the Good...
February 14th, 2014, 08:22 AM
Another method I used, is to explicitely export GetRuntimeClass method added by DECLARE_DYNCREATE/IMPLEMENT_DYNCREATE in the dialog class.
; AnotherDialog.def : Declares the module...
February 3rd, 2014, 03:31 AM
February 1st, 2014, 06:52 AM
To change the current slider thumb position, call CSliderCtrl::SetPos or send TBM_SETPOS message (CSliderCtrl::SetPos sends this message itself).
TRBN_THUMBPOSCHANGING and NM_RELEASEDCAPTURE are...
January 30th, 2014, 06:51 AM
A custom-draw control is a good choice as long as we don't try to change too much its behavior and appearance.
Otherwise, making a custom or ActiveX control from scratch may be a better option.
January 26th, 2014, 10:58 AM
For sure I can. :)
It's not very clear for me what that means, just I can say that you can easily arrange the items yourself, in a more flexible manner.
January 25th, 2014, 09:04 AM
What means "the whole grid"?
What means "a device context only for a part of the grid"?
Why do you want to "draw your whole grid" in CDDS_ITEMPREPAINT stage, as long as it is designed for...
January 25th, 2014, 05:03 AM
Here are the causes and possible fixes, quoted from MSDN Library:
January 24th, 2014, 11:47 AM
It is possible with RegNotifyChangeKeyValue.
But of course, that's not so easy as the OP is expecting. Or in other words, is like scraping own head with the foot. :)
So this case we can say, using...
January 24th, 2014, 11:24 AM
Functions like CWinApp::WriteProfileString and CWinApp::GetProfileString access values under the following key:
where RegistryKey is...
January 20th, 2014, 03:32 PM
Pay attention to LoadImage dcumentation;
focus on lpszName parameter;
discover what MAKEINTRESOURCE macro does;
do not ignore the rest;
repeat 1 to 4 until everything is clear.
January 20th, 2014, 03:09 PM
You can but you may not. :)
Anyway that's a little bit better. And please note: I know what's "lol".
January 20th, 2014, 02:47 PM
Please, define "use 1 HDC if was release lol".
January 20th, 2014, 09:48 AM
I found this issue has been resolved in VS2012.
CFile::OpenFlags enum contains a new value, typeUnicode. So, to save unicode, you can do the following:
UINT nOpenFlags =...
January 20th, 2014, 09:06 AM
As already said before in this thread, a common Windows listview control (SysListView32, kept by CListCtrl or CListView MFC classes) is NOT designed to keep dialogs.
Although at last everything is...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.