Results 1 to 17 of 17

Thread: Plain Window Tired of writing it

  1. #1

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335

    Plain Window Tired of writing it

    ok 1 question. Do you men/women out there write out the whole window code or copy and paste a made one?
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It's interesting how small-medium VB apps are about 250k and have a 10:1 ZIP compression ratio. Makes you wonder...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  7. #7

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  8. #8

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  9. #9

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  10. #10

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  11. #11

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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
    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
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  12. #12

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    ok i got version 3 now. You can make 1 window, 50 buttons, 50 text boxes.

    Download

    Attached Images Attached Images  
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  13. #13
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    That's nice, but one thing: if I wanted text boxes and buttons on my window I'd make a dialog.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  14. #14

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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?
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  15. #15
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Why would you want buttons or edit boxes on a normal window?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  16. #16
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  17. #17

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    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
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width