Search:

Type: Posts; User: Prads

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,302

    Thanks. I finally got double buffering to work. I...

    Thanks. I finally got double buffering to work. I need to rest now, my eyes are swelling due to lack of rest and being too much infront of computer. Haha I will rewrite the drawing code and post them...
  2. Thread: Why Open Source?

    by Prads
    Replies
    17
    Views
    4,443

    Amen.

    Amen.
  3. Replies
    6
    Views
    4,302

    Oh! I'll post some of my code. I have a draw...

    Oh! I'll post some of my code. I have a draw class which has a virtual function called drawFunc(HWND hwnd) which basically draws the object on Window. There are three base class:


    class...
  4. Replies
    6
    Views
    4,302

    Hmmm.. If you're asking whether or not it deals...

    Hmmm.. If you're asking whether or not it deals with WM_PAINT. Nope it doesn't. I know after window is minimized WM_PAINT message is sent. If I knew which messege is sent before window is minimized...
  5. Replies
    6
    Views
    4,302

    redraw after minimize

    I am making a simple drawing program using GDI and Win32 API. It lets user to draw shapes, text etc on Window. Problem is, when window is minimized, everything that was drawn is gone. I have searched...
  6. Replies
    6
    Views
    5,570

    I am so sorry I posted the thread in wrong place....

    I am so sorry I posted the thread in wrong place. Won't happen again. :)

    Yeah, I think I will create a new handle. Thanks!
  7. Replies
    6
    Views
    5,570

    Hmmm.... then I will make a handle myself like...

    Hmmm.... then I will make a handle myself like this: HWND dlgHandle = CreateWindow(...) and then use that handle with SendMessage() function to change font.

    If there are any other way, please tell...
  8. Replies
    6
    Views
    5,570

    Idc_static font change

    Ok, I defined IDC_STATIC in my resource.h file like this:


    #define IDC_STATIC -1

    Then I created a dialog box, and at runtime, I have created bunch of controls. Here's a sample code:

    ...
  9. Replies
    1
    Views
    985

    YAYYYY! GetPixel function worked like a charm. :)...

    YAYYYY! GetPixel function worked like a charm. :) :) :)
    Mods can lock this topic. lol
  10. Replies
    11
    Views
    1,828

    If you want simple encryption, then replace each...

    If you want simple encryption, then replace each alphabets with some other alphabets or symbol, like a = @@#, b = @#@ etc and then store it. Then when you decrypt it, just reverse the process... ?
  11. Replies
    1
    Views
    985

    Picking Color from window

    Hello, I am making this small paint program in C++ using Win32 API and GDI. So far I am able to use GDI to paint on window.
    I want to allow user to pick color from window, just like 'Pick Color'...
Results 1 to 11 of 11