ok 1 question. Do you men/women out there write out the whole window code or copy and paste a made one?
Printable View
ok 1 question. Do you men/women out there write out the whole window code or copy and paste a made one?
We usually have some kind of library backing us up. I have MFC or WTL, parksie has his own little one.
Other people copy'n'paste.
i made a little program that ask me for the title , class, height, and width i want. and i press make it and poof it makes the cpp file with the info i supplied i know its not big but it saves me lots of time lol.im on ver .1 now. I made it in vb hjust now today i mean. it works fine i tested it only on xp but should wourk great on win9x. Its a big file becuz i tried to make it look nice but i have no GUI skills. but i like it . :) its like 268KB on disk and like 25KB Ziped up and 58.2KB on self extracting exe for those without winzip. Ill post the link to the Ziped file below:
JayWare Download
If you download and test this tell me what you think.
It's interesting how small-medium VB apps are about 250k and have a 10:1 ZIP compression ratio. Makes you wonder...
Hmm, the app doesn't work.
First the tab order of the controls is in wide disarray.
Then I press ok, it asks me for a filename, I press ok a second time and it gives me a run-time error: "Path not found".
Do you have any hard coded paths in there?
ok sorry about the tab order ill fix it now. And if you recieve a path not found error be sure there is a directory called files in the path or the program
ok i fixed those problems hopefully :)
The link too the new one is the same i just replaced the old one:
JayWare Downloads
Thanks for testing it try this one out also. Tell me whats wrong if anything . Once again thank you.
Ok i got a smaller version of it only 9KB ziped up and about 38 KB worth of files.
The zip includes
1. Main Program (exe)
1. Folder
a. Folder contains 1 sample cpp file (working)
its only 9KB try it out tell me what you think. I will be makeing a new version where you will be able to create more objects. Thanks for looking.
Nice New Size and look Download it here.
i got allitle bit on info on it on my site here. And you can dl it from there. so i wont keep linking it here. Its in the VB and C++ sections of the site ok .
My Site Hope ya like it
ok tell me if this helps anyone and if it works right. Thanks.
This is version 2. You can now make up to 50 buttons! cool heh :D. Test it out and write back. i havent completed it yet. i have to add message handlers . but it will create up to 50 buttons and the window.
Download it here
Get info on it here
OK now i did it. I made it create message handlers for each button you create. Test it plz and post anything you feel. You can download it from the above post. ok thanks
Quote:
ok tell me if this helps anyone and if it works right. Thanks.
This is version 2. You can now make up to 50 buttons! cool heh . Test it out and write back. i havent completed it yet. i have to add message handlers . but it will create up to 50 buttons and the window.
Download it here
Get info on it here
ok i got version 3 now. You can make 1 window, 50 buttons, 50 text boxes.
Download
http://www.vbforums.com/attachment.p...postid=1362720
That's nice, but one thing: if I wanted text boxes and buttons on my window I'd make a dialog.
but what if you didnt want a dialog like it was on your win32 program. Why would you want it on a dialog ? what kind of program has it like that? Anyway; do you think this helps out some novices out there?
Why would you want buttons or edit boxes on a normal window?
Don't misunderstand me. It's a very nice thing (except that it would have been a nice exercise for you to write it in C++ ;) ), but I don't see the need for adding buttons and edit boxes. I haven't ever yet added a control to a normal window except when I tried how to do it.
i am going to write in in c++ next just getting the feel of it in vb. Also ill make one for dialog boxes also then. Not sure how yet but i have to read up for that. Thanks