-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WNDCLASSEX #51
Comments
Hi @rofl0r, It would not be a big deal to implement WNDCLASSEX, its just an expanded window class structure that has a few more fields (like hIconSm to support small icons as well as normal icons), that aren't used by Microwindows anyways. For now, probably easier to just edit simple_window.c and change all WNDCLASSEX to WNDCLASS, and then the following:
That should compile and run. |
thanks for your suggestion. now i get
trying to disable those too... |
Just change
to
for now, same with LoadIcon. |
thanks, that works and i get a working window. cool stuff! regarding cursor: the default cursor which is almost horizontal in shape looks really 80ies, like in openmotif. |
The (80's style) Win32 cursor is declared in src/mwin/winmain.c:
You can look up the format of MWCURSOR in include/mwtypes.h, but basically its a 16x16 bitmap, with the first array being the cursor bits, and the second array being the mask bits. If you rearrange those hex numbers into a better column, or even better yet, arrange them as C binary numbers (0111111000111b, etc), you should be able to visually play with a replacement cursor. |
hi, today i wanted to try out the MW_FEATURE_RESIZEFRAME feature (#26) so i went looking for some win32 sample programs and found this http://www.winprog.org/tutorial/
here is a small sample program i wanted to compile against microwindows (simple_window.c)
but it seems WNDCLASSEX isn't implemented in microwindows. are there any plans to add this ?
The text was updated successfully, but these errors were encountered: