VISG: visual and smart GUI builder
io, you need any winapi manual.
Find the word "Event" in the generated code. Visg inserts into the code message boxes with title "Event" and a comment for the event. You see this messages when you press any button or checkbox on the form. It's a hint where insert your code.
See examples in the folder FreeBASIC/examples/Windows/gui.
Find the word "Event" in the generated code. Visg inserts into the code message boxes with title "Event" and a comment for the event. You see this messages when you press any button or checkbox on the form. It's a hint where insert your code.
See examples in the folder FreeBASIC/examples/Windows/gui.
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
@fsw
The Nanoasm compiler is only function "nanoasm_compile".
You may include it into your program and it can compile nanoasm programs at runtime into memory.
In the zip, there is the nanoasm compiler "nanoasm.exe".
It can create simple Windows PE executables.
It can also create binary files with compiled code or run the code directly.
You may include that binaries into your program and call it directly like a function, because it's already compiled code.
I did not put the source code of nanoasm.exe to the my website before.
But now I've done it. You can download it here: http://mrhx.ucoz.com/load/5
The Nanoasm compiler is only function "nanoasm_compile".
You may include it into your program and it can compile nanoasm programs at runtime into memory.
In the zip, there is the nanoasm compiler "nanoasm.exe".
It can create simple Windows PE executables.
It can also create binary files with compiled code or run the code directly.
You may include that binaries into your program and call it directly like a function, because it's already compiled code.
I did not put the source code of nanoasm.exe to the my website before.
But now I've done it. You can download it here: http://mrhx.ucoz.com/load/5
Thanks, but now it says array.c is missing.mrhx wrote:@fsw
The Nanoasm compiler is only function "nanoasm_compile".
You may include it into your program and it can compile nanoasm programs at runtime into memory.
In the zip, there is the nanoasm compiler "nanoasm.exe".
It can create simple Windows PE executables.
It can also create binary files with compiled code or run the code directly.
You may include that binaries into your program and call it directly like a function, because it's already compiled code.
I did not put the source code of nanoasm.exe to the my website before.
But now I've done it. You can download it here: http://mrhx.ucoz.com/load/5
I'm really impressed about the small sizes of the code.
It seems you reaaly know what you are doing.
Great job.
BTW: if I have more questions, where do you want me to put them?
@fsw
http://mrhx.ucoz.com/load/5-1-0-15#comments
I've just put "how to build" comments there.
Ask your questions about nanoasm in the comments on my website in order all other people can see it.
http://mrhx.ucoz.com/load/5-1-0-15#comments
I've just put "how to build" comments there.
Ask your questions about nanoasm in the comments on my website in order all other people can see it.
I just tried to download VISG 0.91 from http://mrhx.ucoz.com/load/1-1-0-14 and I only get 74kByte--the download site says 124.3kByte. The zip won't open. What am I doing wrong?
Rgds
Brad
Rgds
Brad
I see this problem at first time.bfuller wrote:I just tried to download VISG 0.91 from http://mrhx.ucoz.com/load/1-1-0-14 and I only get 74kByte--the download site says 124.3kByte. The zip won't open. What am I doing wrong?
Rgds
Brad
I don't know what is it.
Try the following direct address:
http://mrhx.ucoz.com/soft/visg091.zip
OK, now it works--strange, so does the original download this morning. Thanks for the help. I think the problem may have been at my end. I think Norton Anti Virus is interferring with things. I have not tried to run VISG yet--I have very little spare time but from the forum entries above it sounds very good.
mrhx,
I tried to download at work from http://mrhx.ucoz.com/soft/visg091.zip and was blocked by the Corporate Internet filter with a warning that your IP is a "criminal enterprise, phishing" site. Just thought you should know.
_j
I tried to download at work from http://mrhx.ucoz.com/soft/visg091.zip and was blocked by the Corporate Internet filter with a warning that your IP is a "criminal enterprise, phishing" site. Just thought you should know.
_j
@ hammeraxe
I will include the menu editor into VISG soon (in version 1.0+).
But at the moment, you need to create it manually by using AppendMenu function. See "FreeBASIC/examples/Windows/gui/menu.bas" for more info.
The simple example:
I will include the menu editor into VISG soon (in version 1.0+).
But at the moment, you need to create it manually by using AppendMenu function. See "FreeBASIC/examples/Windows/gui/menu.bas" for more info.
The simple example:
Code: Select all
const IDM_EXIT = 1900
const IDM_FILE_OPEN = 1901
dim mymenu as HMENU
dim mysubmenu as HMENU
mymenu = CreateMenu() ' create new menu.
mysubmenu = CreatePopupMenu() ' create new popup menu "File".
AppendMenu mysubmenu, MF_STRING, IDM_FILE_OPEN, "Open" ' add OPEN menu item.
AppendMenu mysubmenu, MF_STRING, IDM_EXIT, "Exit" ' add EXIT menu item.
' append FILE submenu.
AppendMenu mymenu, MF_STRING or MF_POPUP, cast(integer, mysubmenu), "File"
SetMenu mywnd, mymenu ' set the window menu.
DrawMenuBar mywnd ' optional call.
' mywnd is the window handle (HWND) of your window.