wxWidgets

This is a discussion on wxWidgets within the C++ Programming forums, part of the General Programming Boards category; Does anyone have some decent tutorials for this, all of them I have found have busted code that because I ...

  1. #1
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094

    wxWidgets

    Does anyone have some decent tutorials for this, all of them I have found have busted code that because I am new to programming it, I don't know how to fix. If someone could direct me to a tutorial that isn't garbage that would be great .

    ~Wraith

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I don't know.... Hopefully somebody can recommend a good tutorial or book for you.

    Sorry to say this, but my recommendation would be to learn Windows programming before attempting to struggle through one of the less-popular GUIs.

    The popularity of Windows means that there are more resources for learning it. There is probably 1000 times or more the learning materials (Books, classes, tutorials, online references) for Windows as for wxWidgets. (probably 10x all other GUIs combined.) Once you understand the concepts of GUI programming, the 2nd library should be easier.

    GUI programming is difficult. Petzold says it takes 6 months to learn Windows programming. (I think wxWidgets is supposed to be easier.)

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Windows GUI programming is all in C, I would like to stick to C++. That is the main reason I want to use a different GUI API than Win32, unless there is a C++ version of Win32 out there somewhere.

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    Just because win32 api is written in C is no reason you can't use it in a c++ program. The reason you would want to use wxWidgets is because it is portable between operating systems, not because it is c++. If you want the latest and greatest, get Visual Studio 2005, but be prepared to spend lots of $$$ unless you are a student and can prove it.

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Windows GUI programming is all in C, I would like to stick to C++. That is the main reason I want to use a different GUI API than Win32, unless there is a C++ version of Win32 out there somewhere.
    There is. It's called windows programming with the MFC. MFC is the win32 API converted into C++. There are lots of books on it. MS compilers like VC++6 have an IDE that is purpose built to make programming with the MFC easier.
    Last edited by 7stud; 12-07-2005 at 03:04 PM.

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    197
    Quote Originally Posted by Ancient Dragon
    If you want the latest and greatest, get Visual Studio 2005, but be prepared to spend lots of $$$ unless you are a student and can prove it.
    VC++ 2005 Express is free for a little under a year (year from release it runs out). It is nice, although I have been looking into wxWidgets, and already got the library compiled using VC++ 2005 Express, and working.
    If any part of my post is incorrect, please correct me.

    This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted.

  7. #7
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by Wraithan
    Windows GUI programming is all in C, I would like to stick to C++. That is the main reason I want to use a different GUI API than Win32, unless there is a C++ version of Win32 out there somewhere.
    And you are absolutely right. Win32 is a horrific mess and the sooner it's consigned to the dustbin of history the better.

    wxWidgets is a nice OO cross platform GUI (you can even use it in python) and is a damn fine choice.

    check out these tutorials

    All that said, if you are hoping to work as a C++ developer, you WILL need to know MFC at some point. This is an unfortunate reality of life.
    However after learning wxWidgets, you'll find MFC easy enough, although nowhere near as elegant.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  8. #8
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    I installed wxWidgets and tried to compile the DLL using VC++ 6.0 on XP. Win32 DLL Release will not compile -- get "INTERNAL COMPILER ERROR" on a lot of lines. ended with "wxmsw250.dll - 95 error(s), 63 warning(s)" ! This wxWidgets is a pretty useless when used with VC++ 6.0.

  9. #9
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by Ancient Dragon
    This wxWidgets is a pretty useless when used with VC++ 6.0.
    ehm, I think you'll find that should be
    This VC++ 6.0 is a pretty useless when used with wxWidgets.
    in fact, it could also be
    This VC++ 6.0 is a pretty useless when used with C++.
    or just
    This VC++ 6.0 is a pretty useless.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  10. #10
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    if you want (C)oolness (Y)ou (G)et (W)here (I)nitially (N)one
    get cygwin and compile with gcc

    edit:
    or install some linux distro right away
    Last edited by Raven Arkadon; 12-07-2005 at 09:23 PM.
    signature under construction

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. wxWidgets and capturing EN_SELCHANGE
    By anon in forum Windows Programming
    Replies: 1
    Last Post: 03-08-2009, 07:48 AM
  2. WxWidgets in C?
    By Jake.c in forum C Programming
    Replies: 8
    Last Post: 10-05-2008, 02:40 AM
  3. wxWidgets Reduce Rilesize
    By parad0x13 in forum C++ Programming
    Replies: 4
    Last Post: 07-25-2008, 08:15 PM
  4. Borland & wxWidgets!!! Help!!!
    By Matt3000 in forum C++ Programming
    Replies: 5
    Last Post: 07-31-2006, 09:17 PM
  5. wxWidgets cross platform GUI problem
    By BobS0327 in forum Linux Programming
    Replies: 2
    Last Post: 05-31-2006, 06:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21