Search:

Type: Posts; User: eth0

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,572

    WM_PAINT call confusion

    My understanding is as follows:

    When a window needs painting, the procedure calls WM_PAINT. If there is no handler for this message, the message is passed to DefWindowProc which takes care of the...
  2. Replies
    7
    Views
    2,544

    Makes sense. Thanks for the tip :)

    Makes sense. Thanks for the tip :)
  3. Replies
    10
    Views
    1,408

    Do you mean selected via the default open dialog?...

    Do you mean selected via the default open dialog?

    If so, you want to look at the GetOpenFileName function.

    The path is pointed to by lpstrFile in the OPENFILENAME struct
  4. Replies
    7
    Views
    2,544

    I'm destroying the old standard imagelist which...

    I'm destroying the old standard imagelist which is returned from from sending TB_SETIMAGELIST. The new image list isn't touched.

    This is the way I've always applied image lists to toolbars.
    ...
  5. Replies
    7
    Views
    2,544

    Putting tool buttons onto windows

    Hi all.

    I'm attempting to place tool buttons into a Window which is going to be a floating toolbar.
    The images are seperate bitmaps loaded into an image list.

    I put the following code...
  6. Replies
    20
    Views
    4,113

    In exactly the same way as you build c++ files....

    In exactly the same way as you build c++ files. Just save your files as .c instead of .cpp
    The MSVC compiler (cl.exe), is both a C and C++ compiler. It will build according to file extension.
    ...
  7. Replies
    16
    Views
    2,909

    I'll do it for $9.50

    I'll do it for $9.50
  8. Thread: winsock tutorials

    by eth0
    Replies
    4
    Views
    1,406

    http://cboard.cprogramming.com/showthread.php?t=41...

    http://cboard.cprogramming.com/showthread.php?t=41926

    I would recommend Winsock Programmers FAQ
  9. Replies
    20
    Views
    4,113

    They aren't really error warning, they are more...

    They aren't really error warning, they are more notification warnings.
    Microsofts string-safe library is actually really good and certainly worth using if you plan on using VS exclusively to build....
  10. Replies
    20
    Views
    4,113

    No this is not true. The MSVC compiler supports...

    No this is not true. The MSVC compiler supports both C and C++.
    It is the best C compiler available for Windows systems able to produce efficient binaries is blistering time.



    That's not true....
  11. Replies
    20
    Views
    4,113

    Code::Blocks is about to blow Dev-Cpp out of the...

    Code::Blocks is about to blow Dev-Cpp out of the water....

    You need to grab a nightly build at the moment, but the next official release will push them clear.
  12. Replies
    12
    Views
    2,883

    I think Code::Blocks has left Dev-C++ in it's...

    I think Code::Blocks has left Dev-C++ in it's tracks. It's starting to look and behave like VS now.
    However you'll need to get one of the nightly builds, the release version on their website is very...
  13. Replies
    12
    Views
    2,883

    You do realise you can be banned for such...

    You do realise you can be banned for such blasphemy ;)

    christianne, how about simplifiying the code a little bit.

    Here is the same program, using char's to store the input instead of int's....
  14. Replies
    2
    Views
    3,037

    Thanks for the clarification, all is working now...

    Thanks for the clarification, all is working now :)
  15. Replies
    2
    Views
    3,037

    drawing on bitmaps

    Hi all.

    I’ve been reading Petzold about DIB’s and been playing about with some ideas. One problem I’m having trouble with at the moment is drawing on the same bitmap where an image has been...
  16. Replies
    2
    Views
    1,639

    yeah, I had been googling. I had been looking...

    yeah, I had been googling.

    I had been looking for ways of packaging the current API reference (i.e. 2003 R2).
    I think the one you provided is from around the 1995 area.

    There must be some way...
  17. Replies
    2
    Views
    1,639

    api reference material

    Does anyone know of a way of seperating the SDK help files for viewing?

    My aim is to get a copy of Code::Blocks and the Win32 API reference material onto a pen drive.

    I move around computers...
  18. Replies
    0
    Views
    1,196

    getting buttons onto a floating toolbar

    I've got a floating toolbar 32 x 128 and I want to get a collection of custom buttons onto it in a 2 x 8 arrangement.

    How do I go about this?

    Thanks.
  19. Replies
    4
    Views
    1,934

    I'm not really sure where I'm going wrong here. ...

    I'm not really sure where I'm going wrong here.

    I'll post my relevant code sections on here in the hope that someone can point me in the right direction.

    I'll use standard buttons to make it...
  20. Replies
    4
    Views
    1,934

    getting toolbar buttons onto a window

    If I create a regular window ready to be a floating toolbar using WS_EX_TOOLWINDOW, how do I then get toolbar buttons onto it?

    I'm using C and the Win32 API.

    Thanks
  21. Thread: Floating toolbar

    by eth0
    Replies
    2
    Views
    2,439

    Great link. Thanks for that. :)

    Great link. Thanks for that. :)
  22. Replies
    2
    Views
    9,502

    Use a shared memory resource. Don't forget to...

    Use a shared memory resource.

    Don't forget to access them via protected methods. e.g. InterlockedXxx in Windows.
  23. Thread: Floating toolbar

    by eth0
    Replies
    2
    Views
    2,439

    Floating toolbar

    Hi.

    Could someone point me to some docs on how to make a toolbar floating / dockable?

    Searching MSDN only seem to pull up info for MFC, and I'm using Win32 API.

    At the moment, my toolbars...
  24. Replies
    3
    Views
    3,881

    get handle modal dialog

    how do you get a handle to a modal dialog from outside of the dialogs procedure?

    I need to be able to send messages to it.

    Thanks.
  25. Nope, I got my answer and learned something else...

    Nope, I got my answer and learned something else too. :)
    Thanks guys
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4