Search the Community
Showing results for tags 'subclassing'.
Hi all, We can make guis with GUICreate function. As well as, we can create guis in traditional C style with _WinAPI_CreateWindowEx function. Well, in the second case, we have the power and freedom to deal with WndProc function and thus we can do a lot more than the ordinary GUICreate function. But We can do the same things in ordinary GUICreate function with the help of _WinAPI_SetWindowSubclass function and _WinAPI_RemoveWindowSubclass function. But i think we can't do anything in the WM_CREATE, WM_PAINT messages. (Please correct me if i am wrong). So my question is; Which method is better ? ordinary GUICreate function with subclassing OR _WinAPI_CreateWindowEx with original WndProc ? Why i am asking this because, i need more control over my guis with maximum safety without performance loss.