Search:

Type: Posts; User: vrek

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,260

    filling in list boxes

    I have a couple list boxes in my user setup dialog box. I want to fill those with possible options. acorrding to my book I do that by sending a LB_ADDSTRING to the listbox child window control. I am...
  2. Replies
    11
    Views
    2,477

    I got it fixed. The problem was I was not storing...

    I got it fixed. The problem was I was not storing the variable for the two window handles as global variables so each time I was trying to run it it was seeing the windows as un ititialized.
  3. Thread: Linked Lists

    by vrek
    Replies
    10
    Views
    1,315

    How would you go about doing that?

    How would you go about doing that?
  4. Replies
    11
    Views
    2,477

    ok, I created the windows in WM_CREATE and then...

    ok, I created the windows in WM_CREATE and then used ShowWindow(UserWnd, SW_SHOWNORMAL); to display it but I am still having the same exact problems. Any other ideas of what could be wrong?
  5. Replies
    11
    Views
    2,477

    Ok, I had it working but then I came up with the...

    Ok, I had it working but then I came up with the idea of have multiple views in my program(basically an opening screen just displaying a image, and two listViews). In order to do that with...
  6. Replies
    11
    Views
    2,477

    Oh sorry. must of missed that. It all works...

    Oh sorry. must of missed that.
    It all works wonderfully execpt for one thing...It will not display properly untill I click on the window. If I do anything to the window to make it redraw(resize,...
  7. Replies
    11
    Views
    2,477

    Thank you. That is exactly what I wanted!! I...

    Thank you. That is exactly what I wanted!!

    I just have one small question. Is there anyway to make it so that the columns are boxed in? Similar to how excel has it where there is a gray or black...
  8. Replies
    11
    Views
    2,477

    I'm not trying to make Icon bar(to be honest I...

    I'm not trying to make Icon bar(to be honest I don't think I have enough functions in my program to need a icon bar). Basically I am making a spreadsheet/table(not directly modifiable by the user)....
  9. Replies
    11
    Views
    2,477

    drawing column label boxes

    I am trying to draw a series of rectangles to use as column headers(as well as eventually list tables full of data below it. I have a sorta primitive solution that should work as far as I can tell...
  10. Thread: Painting

    by vrek
    Replies
    12
    Views
    1,516

    Ok, I have a possible solution if i understand...

    Ok, I have a possible solution if i understand the question right. How about creating a second compantible DC that you draw on when you want and then on release of the mouse button do a bitblt from...
  11. Replies
    2
    Views
    1,460

    MANY MANY error messages

    Why is it that I add in a piece of code in its own files sometimes I end up with HUNDREDS of errors throughout all the code. It ranges from connected code to completely un related code sections. For...
  12. Replies
    9
    Views
    1,617

    If it was me I would completely change your math...

    If it was me I would completely change your math code. I would put all 25 numbers into an array. Put them through a sorting algorithm(I would probaly use bubble sort, look on this site for a...
  13. Replies
    0
    Views
    815

    Dialog box memory problems

    Alot of my program is dialog based. I have multiple property pages and 3 different wizrds. I was watching the memory usage via Task Manager and noticed that while my program only uses about 2000K on...
  14. Thread: Splash Screen

    by vrek
    Replies
    7
    Views
    1,897

    I ended up taking the easy way out and using...

    I ended up taking the easy way out and using this: Splash Screen Class
    It does everything I wanted and worked perfectly out of the box.
  15. Replies
    10
    Views
    3,754

    Well all of my code is attached in the file I...

    Well all of my code is attached in the file I posted earlier but is my WM_PAINT message.




    case WM_PAINT:
    RECT rt;
    HFONT hfont;
    int y,iOffset;
    POINT pt[4];
  16. Replies
    4
    Views
    1,475

    Depends on your compiler as to the exact...

    Depends on your compiler as to the exact placement of the option. Just look around the options and you should see something like "Use UniCode: TRUE" or something to that effect.
  17. Replies
    4
    Views
    1,475

    you are working in unicode. Change that and it...

    you are working in unicode. Change that and it should work.
  18. Thread: Splash Screen

    by vrek
    Replies
    7
    Views
    1,897

    Using the normal method of displaying bitmaps I...

    Using the normal method of displaying bitmaps I need the size of the window I am copying to but I only want the image centered in the the middle of the screen. How can I do this?
  19. Replies
    10
    Views
    3,754

    I found a sorta fix. It is only drawing after I...

    I found a sorta fix. It is only drawing after I make it call a WM_SIZE message(through changing the size of the window). Is there any way I can request a WM_SIZE message? I thought about SendMessage...
  20. Replies
    10
    Views
    3,754

    IDM_NEWPARTY is a menu item. Yes I did do that...

    IDM_NEWPARTY is a menu item. Yes I did do that and still got a blank screen.
  21. Replies
    10
    Views
    3,754

    I got it working, now onto the next problem,...

    I got it working, now onto the next problem, trying to draw them with FrameRect gives me a blank screen.



    FrameRect(hdc, &MyLabels.name,(HBRUSH)GetStockObject(BLACK_BRUSH));


    That is one...
  22. Thread: Splash Screen

    by vrek
    Replies
    7
    Views
    1,897

    I would put that in WinMain right before...

    I would put that in WinMain right before CreateWindow correct?
  23. Replies
    10
    Views
    3,754

    So I should do something like this: ...

    So I should do something like this:


    struct labels{RECT; RECT; RECT; RECT; RECT; RECT; RECT;};

    labels MyLabels(RECT name, RECT height, RECT weight, RECT drug1, RECT drug2,RECT drug3, RECT...
  24. Thread: Splash Screen

    by vrek
    Replies
    7
    Views
    1,897

    Splash Screen

    My program is getting rather large and it it has to itialize alot in WM_CREATE(it includes a database it has to get info from and different fonts to make). I want to create a splash screen to show...
  25. Replies
    10
    Views
    3,754

    Struct of Rects can't compile

    I am trying to have a structure of RECTs to hold all the labels at the top of my screen. The declarations does nto give me any errors or anything but when I try to initialize the rectangles I get...
Results 1 to 25 of 26
Page 1 of 2 1 2