*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
style = style_;
hInstance = g_Globals._hInstance;
hCursor = LoadCursor(0, IDC_ARROW);
-
+ this->hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
lpszClassName = classname;
lpfnWndProc = wndproc;
return TRUE; // message has been processed
case WM_NOTIFYFORMAT:
- SetWindowLong(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT
+ SetWindowLongPtr(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT
return TRUE; // message has been processed
case WM_NCDESTROY:
return TRUE; // message has been processed
case WM_NOTIFYFORMAT:
- SetWindowLong(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT
+ SetWindowLongPtr(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT
return TRUE; // message has been processed
case WM_NCDESTROY: