Win32 GUI Abstraction Layer Progress - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html) +---- Thread: Win32 GUI Abstraction Layer Progress (/thread-5804.html) |
Win32 GUI Abstraction Layer Progress - adosorken - 01-25-2005 I'll try to keep everyone updated on this as the project progresses. Here's what's currently working: Windows of all different kinds Command buttons Labels Vertical and Horizontal Scrollbars Combo boxes/dropdown boxes Listboxes Editboxes Images Menus GetFolder Checkboxes Radio Buttons Differences from VB versions: Full control over the WhatsThisHelp cursor option. Command buttons can have huge borders around them. Image controls have hDc's (in VB, they do not) and their features are more customizable (transparency on/off, etc). New menus/submenus can be added at runtime and without the use of resource files. Currently unimplemented stuff for working controls: TAB control switching. I've followed the MSDN to the letter and still cannot get this to work. ToolTipText. Needed eventually but unimplemented for now. Autoresizing labels. Not quite sure how this is done atm. Currently working on: RichTextBox Toolbar SaveFile/LoadFile Some notes: The VB picturebox control is NOT a static control. It is quite a complex control that is going to take some time to implement properly. It serves as a container, it can be aligned in a window, it takes input, etc. Basically, it does everything a static control cannot do. So for now, the Image control, while more powerful than VB's Image control, isn't quite as powerful as VB's PictureBox control. Keep in mind that the GUI abstraction layer is a procedural layer only; it is not OOP. Its purpose is to make developing a GUI application in FB a bit easier by bringing common constructs together in an organized way. This will be the basis for the GUI Compiler, which is OOP (well, it's POOP, but anyways...). Win32 GUI Abstraction Layer Progress - adosorken - 01-25-2005 I suppose I'd better show a screenie of this all working, eh? This is again winhello, heavily expanded to show off all the controls we have working thus far: Win32 GUI Abstraction Layer Progress - relsoft - 01-25-2005 Release or face our wraths!!! Win32 GUI Abstraction Layer Progress - adosorken - 01-25-2005 Checkboxes and radio buttons added. Win32 GUI Abstraction Layer Progress - adosorken - 01-25-2005 VB-like Frames, pushable checkboxes, and pushable radio buttons now all working. Also, notice the difference in this shot's version of the Label as compared to previous shots...if you can't see the difference immediately, here's a hint: look at the label's border. Win32 GUI Abstraction Layer Progress - whitetiger0990 - 01-25-2005 Hail Nek! |