12-23-2004, 10:16 AM
Okay, I got a couple of questions for anyone out there who's got some experience in raw GUI programming:
1. The combobox will not display the dropdown icon, although it will function as normal when I send messages to add new text items, and I can scroll through the items using the keyboard's cursor keys. Do I have to draw this in myself? The MSDN makes no mention of it...in fact, as usual, it's quite vague on the subject.
2. With editboxes, there are no scrollbars, even when multiline and the scroll types are set. I see this on the MSDN: "Multiline edit controls can have scroll bars. An edit control with scroll bars processes its own scroll bar messages.". Maybe I'm a bleedin' idiot, but this doesn't make a whole lot of sense to me. Can someone explain wtf I have to do to get scrollbars in editboxes in plain English?
In any event, I got more controls working...somewhat. As before, I still don't have a lot of time to work on this so it's mainly just pick and tear at what I can, but here's a newer screenie:
With all of this working to some exent thus far, I've already conceptualized a method of GUI abstraction that hopefully will work. Once the controls are brought "under control", so to speak, it can be created so everyone can have true event-based GUI support under FreeBASIC.
EDIT: New user32.bi released (v1.05, includes new combobox message constants, allowing stuff like adding items to comboboxes), and allfbapi was updated.
1. The combobox will not display the dropdown icon, although it will function as normal when I send messages to add new text items, and I can scroll through the items using the keyboard's cursor keys. Do I have to draw this in myself? The MSDN makes no mention of it...in fact, as usual, it's quite vague on the subject.
2. With editboxes, there are no scrollbars, even when multiline and the scroll types are set. I see this on the MSDN: "Multiline edit controls can have scroll bars. An edit control with scroll bars processes its own scroll bar messages.". Maybe I'm a bleedin' idiot, but this doesn't make a whole lot of sense to me. Can someone explain wtf I have to do to get scrollbars in editboxes in plain English?
In any event, I got more controls working...somewhat. As before, I still don't have a lot of time to work on this so it's mainly just pick and tear at what I can, but here's a newer screenie:
With all of this working to some exent thus far, I've already conceptualized a method of GUI abstraction that hopefully will work. Once the controls are brought "under control", so to speak, it can be created so everyone can have true event-based GUI support under FreeBASIC.
EDIT: New user32.bi released (v1.05, includes new combobox message constants, allowing stuff like adding items to comboboxes), and allfbapi was updated.
I'd knock on wood, but my desk is particle board.