Search:

Type: Posts; User: korbitz

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. No matter, managed to fix it, thanx to all that...

    No matter, managed to fix it, thanx to all that looked
  2. Using standard C fscanf function with win32 save dialog

    okay, i have a c function that reads from a file and populates a data structure, at present the filename is defined during development. what i was hoping for was to use the standard load dialog that...
  3. okay, no matter, got the images displayed, still...

    okay, no matter, got the images displayed, still getting that error with the error checker, but the code is doing what is is meant to be doing so far, so i'm happy :)
  4. okay, i ran an error checker through the code and...

    okay, i ran an error checker through the code and get an error on this section of code



    SendMessage(g_hToolbar, TB_ADDBITMAP, 0, (LPARAM) &tbAddBitmap);


    the error checker reports the...
  5. okay i added the code from that link but the...

    okay i added the code from that link but the images are not displaying

    the compiler dont like this line



    // Create a toolbar that has ToolTips associated with it...
    g_hwndToolbar =...
  6. Adding user drawn bitmaps to an existing toolbar

    i wonder if anyone can help me with this small problem

    i have a toolbar, that displays 3 standard toolbal buttons, NEW, OPEN, SAVE. This displays and works okay, i can add other system buttons...
  7. Replies
    13
    Views
    2,664

    no matter, managed to fix it HBITMAP...

    no matter, managed to fix it



    HBITMAP hbitmap;
    HINSTANCE hInst = GetModuleHandle(0);
    HWND g_hTemp;
    LPVOID lpMsgBuf;
    int len = 0;
    int node = 0;
  8. Replies
    13
    Views
    2,664

    1. yep 2. done, no joy 3. done also, no joy 4....

    1. yep
    2. done, no joy
    3. done also, no joy
    4. i changed HINSTANCE hInst; to HINSTANCE hInst = GetModuleHandle(0);, no joy still

    i have included the entire code, but the code in question is on...
  9. Replies
    13
    Views
    2,664

    okay i entered that getlasterror and the error...

    okay i entered that getlasterror and the error that it reports is

    Invalid Window Handle
  10. Replies
    13
    Views
    2,664

    i set the style in the dialog create thingy and...

    i set the style in the dialog create thingy and checked that its in the dialog resource

    i also done a debug of the code and it returned NULL, any reason why its returning NULL?
  11. Replies
    13
    Views
    2,664

    from script.rc PUSHBUTTON ...

    from script.rc

    PUSHBUTTON "+X",IDC_BUT_X1_AXIS,0,0,32,27,BS_BITMAP,
    WS_EX_DLGMODALFRAME

    yeah it has the BS_BITMAP style
  12. Replies
    13
    Views
    2,664

    thanx for the reply, but i should have said i am...

    thanx for the reply, but i should have said i am writing the code in win32 not MFC

    sorry for the confusion, here is what i have gotten so far, but it dont work :(



    BOOL CALLBACK...
  13. Replies
    13
    Views
    2,664

    displaying a bitmap on a button

    is there an easy way to display a .bmp image onto a button, i have looked at the dialog design functions of msvc but cant find anywhere to add it

    i have also done a search for this but can only...
  14. Replies
    4
    Views
    1,622

    :confused: damn it, now all of a sudden one of...

    :confused: damn it, now all of a sudden one of the functions that worked before aint working too good, sometimes it works sometimes it crashes the system

    in one instance i ran the program and...
  15. Replies
    4
    Views
    1,622

    :D :D :D :D :D many thanx, i dunno how i...

    :D :D :D :D :D

    many thanx, i dunno how i missed all them function prototypes, i must have looked at them loads of times

    but as i recall when i started this code, when i put the variable type...
  16. Replies
    4
    Views
    1,622

    Weird things happening!!!!!!

    This is a bit difficult to explain, but here goes anyway

    I have a workspace with 2 .c files, 3 .h files and a .rc file

    every now and again i get errors about 2 functions that have always worked...
  17. Replies
    2
    Views
    1,422

    in responce to yer last point, yes i do need all...

    in responce to yer last point, yes i do need all cubes on screen at a time although 10000 will probably wont be ever achieved, but scope needs to be in place for this to happen, (just incase)

    is...
  18. Replies
    2
    Views
    1,422

    GLUT image takes over 440MB?????

    okay, i have a GLUT window that gets called by a win32 GUI (finally got that working :))

    the problem: when i run the code it complains about the size of the image (size as in memory size)

    i...
  19. calling an external program from within a windows GUI

    okay heres the scenario, i have a mdi GUI and a GLUT visualisation image

    heres my problem, GLUT dont work with winMain so i have 3 solutions to my problem

    1. Rewrite GLUT into openGL or somehow...
  20. Replies
    12
    Views
    3,261

    :o no, i just pressed rebuild should read...

    :o no, i just pressed rebuild

    should read better i think
  21. Replies
    12
    Views
    3,261

    LOL, but i did rebuild the project before i sent...

    LOL, but i did rebuild the project before i sent the code to someone else
  22. Replies
    12
    Views
    3,261

    i managed to remove the errors by sending my...

    i managed to remove the errors by sending my source to someone else who then compiled the code and ran it, then he sent the exact same code back to me and it worked

    is that wierd or what...
  23. Replies
    3
    Views
    1,837

    sorry bout the delay in replying to this, but...

    sorry bout the delay in replying to this, but been busy

    okay, you mention calling mainLoop() or something like that but what parameters need to be passed into glutInit as it takes the parameters...
  24. Replies
    3
    Views
    1,837

    integratating glut in a mdi GUI

    heres the scenario,

    i have a GUI with a standard WinMain function

    and a glut file with a main function

    what would be the best way to call the glut file from the GUI if at all it is possible...
  25. Replies
    12
    Views
    3,261

    so basically, its something to do with the way i...

    so basically, its something to do with the way i have visual studio setup then?

    do you have any ideas at all why it works on yours but not mine, i am using Visual Studio 6
Results 1 to 25 of 54
Page 1 of 3 1 2 3