Type: Posts; User: ovidiucucu
Search took 0.22 seconds; generated 27 minute(s) ago.
March 3rd, 2014, 09:28 AM
Correct, except my nickname. :) ;)
March 1st, 2014, 01:13 AM
And of course, have a look at this FAQ: How to detect memory leaks in MFC?
February 26th, 2014, 10: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, 11: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, 09:51 AM
Just a hint: use IGroupPolicyObject interface.
February 20th, 2014, 04:56 AM
...and probably, he/she doesn't use tape backup API anymore. :)
February 18th, 2014, 02:28 AM
No need much imagination to look at (the only one) exported function GetRuntimeClass as at an "interface", as well. :)
February 17th, 2014, 03: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, 05: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, 09: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, 04:31 AM
February 1st, 2014, 07: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, 07: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, 11: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, 10: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, 06:03 AM
Here are the causes and possible fixes, quoted from MSDN Library:
January 24th, 2014, 12:47 PM
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, 12:24 PM
Functions like CWinApp::WriteProfileString and CWinApp::GetProfileString access values under the following key:
where RegistryKey is...
January 20th, 2014, 04: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, 04: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, 03:47 PM
Please, define "use 1 HDC if was release lol".
January 20th, 2014, 10: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, 10: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...
January 20th, 2014, 05:16 AM
Like Victor already did, I also suggest to use CStdioFile MFC class, that can make your life easier.
However, if really-really need using CRT functions and no MFC...
Notepad, as well as other...
January 9th, 2014, 12:26 PM
Let's try to explain a little bit in other words.
In Windows 7 and Windows Server 2008 R2 the PSAPI functions (e.g. EnumProcesses) has been renamed and moved from PSAPI.dll in KERNEL32.dll (e.g....
Click Here to Expand Forum to Full Width