What I am looking for is a library with simple commands that hides the API from me so I don't have to mess with it. I want to program a GUI like I used to in VB6, i.e. some magical thing somewhere handles all the API stuff and all I have to worry about is the code for when a button is clicked, and the only code I see is the code I wrote. When I look at some API code in FB, I think someone puked on the page, and I don't want the headache of going through and learning that barely-human-legible crap.rdc wrote: The VB development system isn't Visual Basic; it is a RAD environment for creating applications using the Visual Basic language. The compiler takes the VB code and translates that into winapi calls. You don't see it because it is hidden within the development system. And that is the problem. Since the api is hidden, you can't do things (easily) like sub-classing since the development system doesn't allow you to monkey around with the internals (without a lot of ugly hacks). Delphi is a little better in this regard, but does suffer the same types of problems.
Can't someone, somewhere just make a SIMPLE library, that wraps around the API and allows me to do this?
Code: Select all
sub FormLoad()
btn1=New Button(1,1,100,50,"Hi.")
end sub
sub btn_OnClick()
MsgBox("Hello World!")
end sub