September 15th, 1998, 11:58 AM
I have a subclassed cfiledialog which display images in a preview window...it uses the OnFileNameChange() call like the examples on this site...
Trouble is, when you are dealing with large images...
July 21st, 1998, 07:26 AM
Also, VC generates some useful headers which help:
// If this DLL is dynamically linked against the MFC
// DLLs, any functions exported from this DLL which
// call into MFC must have...
April 6th, 1998, 07:13 AM
Yeah...I came across the same problem...I just added a line to the setfocus:
if(pOldWnd != NULL && IsWindow(pOldWnd->m_hWnd) && pOldWnd->GetParent() == this)
return;
March 18th, 1998, 10:04 AM
I have come across two small draw bugs with this otherwise excellent class:
1. If a menu item is a pop-up menu, then the space to the left of the text is different to the space for non-popup menu...
March 18th, 1998, 08:10 AM
The code for the flat owner drawn buttons does not work properly when using a bitmap. When the bitmap button is in a disabled state, no draw action is
undertaken at all. A quick solution to this...