That is true,
Your is better, I don't know why I did it in such an esoteric manner
I probably saw HIWORD( wParam ) and missed cast ot (short) in Win32 docs.
Petr
P.S. Thanks for ATi test
On my ATI card it is much better
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
That is true,
Your is better, I don't know why I did it in such an esoteric manner
I probably saw HIWORD( wParam ) and missed cast ot (short) in Win32 docs.
Petr
P.S. Thanks for ATi test
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Well, thank you to you for the TBGL canvas. It is so capable. I think you could create a custom control and make a lot of $$$$
Anyhow I've added the following equates in next thinBasic UI module so it will simpler to manage mouse wheel and key pressing mask:
%MK_LBUTTON
%MK_RBUTTON
%MK_SHIFT
%MK_CONTROL
%MK_MBUTTON
%MK_XBUTTON1
%MK_XBUTTON2
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
I am not tradesman,
which makes me wonder how I will survive in not so distant future
Thanks for those new equates, looks good.
What is difference between MK_ and VK_ ?
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Important is to be honest man. I'm sure the rest can only come automatically.Originally Posted by Petr Schreiber
I really do not know. Equates are from Microsoft docs at http://msdn.microsoft.com/en-us/library/ms645617(VS.85).aspxOriginally Posted by Petr Schreiber
I suppose VK stands for Virtual Key while MK stands for Mask Key because the lower INTEGER is used as a mask in %WM_MOUSEWHEEL notification and more MK... flags can be on at the same time.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Michael, a little suggestion for track editor:
please do not use confirmation when [X] click but just check if track file has changed.
If yes ask to save: yes, no, cancel.
Yes and no will just save or not save and than exit.
Cancel will just undo [X] closing.
Personally I do like continuous confirmations. They must be used when really needed not for every steps.
Thanks
Eros
Of course: great work. I've already added a karma point.
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Post moved to CM Contest 2009.
It was a pity to downgrade this post to a simple UI problem
It is a so good and nice track editor.
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Thanksguys for the flowers. I just didn't wanna put it there for now as it isn't fully ready. But I think it can be usefull. the next step is to save the modelname-ID relationship so when models get added or removed, it won't destroy the saved tracks.
Ok, here comes the next problem. Start the editor and press R or L, you can rotate in 90 degrees steps. Now select a new track part and now you can only rotate in 180 degrees. ??? At least it looks like, because I think the keypress is detected twies.
How can I solve this?
Btw. former saved tracks are not compatible anymore. Next version will support a chunk based fileformat so new additions to the fileformat won't break old files.
Seems only the first time TBGL_GetWindowKeyOnce really determine the "once" while after a new track part is selected TBGL_GetWindowKeyOnce works like TBGL_GetWindowKeyState ???
I'm checking if something in UI module can interfere in some way ..
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks