VISG: visual and smart GUI builder

User projects written in or related to FreeBASIC.
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Aug 23, 2007 16:52

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.
io
Posts: 9
Joined: Aug 22, 2007 22:26

Postby io » Aug 24, 2007 2:28

to mrhx

Very,very thanks for your suggest, I'll follw it !

bye.
P.S your softwares are great !!
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Aug 30, 2007 21:08

VISG 0.91 is available.
- new icons.
- manual and automatical checking the program updates.
- one more programming language: Gentee.
(0.91 is a little update, but the automatical update checking may be useful)
Pritchard
Posts: 5492
Joined: Sep 12, 2005 20:06
Location: Ohio, USA

Postby Pritchard » Aug 30, 2007 21:43

Whoot! :D Very nice project. I plan to study on Windows API and GUI development sometime in the future, and I may use this.
fsw
Posts: 260
Joined: May 27, 2005 6:02

Postby fsw » Aug 30, 2007 22:50

@mrhx
looked through your webpage and saw that you created a small assembler called nanoasm.
Good work man.

BTW: Tried to compile it, but there are some files missing in the zip.
There is only one c file and it has no main proc.
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Aug 30, 2007 23:20

@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
fsw
Posts: 260
Joined: May 27, 2005 6:02

Postby fsw » Aug 31, 2007 4:07

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


Thanks, but now it says array.c is missing.

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?
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Aug 31, 2007 8:42

@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.
bfuller
Posts: 328
Joined: Jun 02, 2007 12:35
Location: Sydney, Australia

Postby bfuller » Sep 04, 2007 12:36

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
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Sep 04, 2007 14:23

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 see this problem at first time.
I don't know what is it.
Try the following direct address:

http://mrhx.ucoz.com/soft/visg091.zip
bfuller
Posts: 328
Joined: Jun 02, 2007 12:35
Location: Sydney, Australia

Postby bfuller » Sep 04, 2007 22:19

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.
nobozoz
Posts: 238
Joined: Nov 17, 2005 6:24
Location: Chino Hills, CA, USA

Postby nobozoz » Sep 04, 2007 23:41

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
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Sep 05, 2007 8:20

nobozoz, thank you.
it's not good :(
it's because of free hosting "ucoz.com", i think.
hammeraxe
Posts: 6
Joined: Aug 30, 2007 19:25
Location: LV

Postby hammeraxe » Sep 09, 2007 17:32

ok everything works fine for me....
but as im not an API pro i dont know how to implement menus (like File, Edit, Options...) maybe you could include it in visg or point out a good tutorial...
mrhx
Posts: 40
Joined: Jul 30, 2007 20:11
Location: Russia
Contact:

Postby mrhx » Sep 09, 2007 22:17

@ 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:

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.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 4 guests