Type: Posts; User: thomas_nibu
Search took 0.01 seconds.
April 27th, 2007, 04:37 AM
I can't find any App object. Are you talking about CWinApp. I can't find any such method there. Or are you talking about VB.
January 23rd, 2007, 09:56 PM
Have you tried CSplitterWnd.
January 23rd, 2007, 09:42 PM
January 22nd, 2007, 06:13 AM
He said that he want's the number. Not a formatted one.
January 22nd, 2007, 05:46 AM
I think it's got something to do with not initializing variables properly. Can you step through your code and find out. Set a break point inside OnDraw and find out what's the trouble.
January 22nd, 2007, 05:06 AM
Since time_t is an unsigned int you can use CString member function Format for converting it.
csTimeConv.Format( _T( "%u", tYour_time_t );
February 20th, 2006, 05:50 AM
February 20th, 2006, 02:42 AM
I am creating a custom control.
Well the first one is about WM_NCCALCSIZE: It doesn't get called.
I used SetWindowPos in WM_NCPAINT but this looks scratchy. Now background doesn't get...
February 8th, 2006, 01:33 AM
You've got to use Hooks.
SetWindowsHookEx(...) will help you a lot.
February 7th, 2006, 04:55 AM
Modify the above to this...
RegCreateKeyEx (HKEY_CURRENT_USER, Path, 0, NULL, 0, KEY_SET_VALUE, NULL, &hKey, lpdwDisp)
Take a look in MSDN for further details...
February 7th, 2006, 04:52 AM
Adding these styles could also help you...
February 7th, 2006, 04:51 AM
What is this picture box in your application. Is it a CWnd object. If it is then do handle WM_ERASEBKGND for this particular picture box too.
February 7th, 2006, 04:48 AM
You can search Code project or Code guru to find out.
February 7th, 2006, 04:03 AM
There is already a TransparentBlt function.
January 27th, 2006, 01:42 AM
pDC->BitBlt(50, 50, bm.bmWidth, bm.bmHeight, &memDC, 0, 0, SRCCOPY);
January 27th, 2006, 01:30 AM
AFAIK no way out buddy. You are in for it.
January 25th, 2006, 03:14 AM
This means you are not handling measure item properly. That's the only cause.
January 25th, 2006, 01:41 AM
January 25th, 2006, 01:13 AM
What do you mean by this...
January 25th, 2006, 01:11 AM
January 24th, 2006, 12:39 AM
You can type in of course.
BOOL CMyDlg::OnEraseBkgnd(CDC* pDC)
January 23rd, 2006, 11:26 PM
Did you provide a handler for catching WM_RBUTTONDOWN
January 23rd, 2006, 10:50 PM
January 23rd, 2006, 10:47 PM
No _XX_ is not defined if it was it would have compiled. You are doing something wrong.
January 23rd, 2006, 10:14 PM
WM_RBUTTONDOWN causes WM_CONTEXTMENU to be fired. So in spy++ you will see WM_RBUTTONDOWN first and WM_CONTEXTMENU below it.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!