Search:

Type: Posts; User: DutchStud

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    7,089

    HBITMAP to BITMAP

    Does anyone know of an easy way of converting HBITMAP to BITMAP so I can have the bitmap info. when I use GetObject() i can't access the info of the pixels. any help? It's probably really easy,...
  2. Thread: Registry

    by DutchStud
    Replies
    10
    Views
    1,191

    Registry

    Can someone help me with getting data from the registry. I use these functions. The first works, but the second doesn't. I don't even know if i'm using the right function for the second one.

    ...
  3. Replies
    4
    Views
    1,250

    Retrieve the data...

    Help me out with how to get this value now. I get success on the first function, but the second fails. I don't even know if the second is the correct function.


    if(
    RegOpenKey(
    ...
  4. Replies
    4
    Views
    1,250

    thanks.

    thanks.
  5. Replies
    4
    Views
    1,250

    History Folder

    Is there a way to find the default history folder? I thought there was, but I could only find default system folder and default windows folder. thanks in advance.
  6. Replies
    6
    Views
    2,325

    kind of a side question...

    To get info from a server, that file has to be running on a website, not just the file be located there right? Can you do that through a free homepage provider?
  7. Replies
    3
    Views
    1,420

    Memory Allocation

    say i have an array of structures that is filled, and then i want to add another one. Do you understand what I'm saying? I have two array elements, and I want to add a third. Is it possible to do...
  8. Replies
    7
    Views
    1,294

    I would say change SRCPAINT to SRCCOPY first. ...

    I would say change SRCPAINT to SRCCOPY first. that's probably your problem. if that doesn't work, then try some of the other suggestions.
  9. Replies
    4
    Views
    1,750

    try making another dc using CreateCompatibleDC()...

    try making another dc using CreateCompatibleDC() and load your bitmap into it. then bitblt the compatible dc into hdc.
  10. Thread: PeekMessage

    by DutchStud
    Replies
    9
    Views
    1,627

    I think i saw one implementation once that if...

    I think i saw one implementation once that if PeekMessage returned that there wasn't a message, the program kept doing something, and if it returned that there was a message, it'd call GetMessage
  11. Replies
    5
    Views
    1,245

    I used the function you gave me, and it gave me...

    I used the function you gave me, and it gave me the same type of error, not in compiling but in debugging. it gave me it where you incremented both pointers.
  12. Replies
    5
    Views
    1,245

    why...

    So why won't it let me use sname[s]=c;
    Why do you increment the pointers? (*pString++=*pLastSlash++;)
  13. Replies
    5
    Views
    1,245

    Character in a String

    I'm trying to make a function that turns a filename into a shorter name. For example "c:\windows\clouds.bmp" to "clouds". The problem comes at sname[s]=c; Does anyone know what the problem is? I...
  14. Replies
    13
    Views
    1,386

    my bad...

    wasn't thinking. starbook, sorry, no offence meant.
  15. Replies
    5
    Views
    1,037

    kindof a side question...

    servers are done with sockets too, right?
  16. Replies
    13
    Views
    1,386

    what is stardock? ( i don't have much room on...

    what is stardock? ( i don't have much room on the computer, and i want to know if it would be worth my downloading )
  17. Replies
    2
    Views
    1,139

    Thanks for the help, yeah, i got the copying...

    Thanks for the help, yeah, i got the copying thing figured out, but i never would have figured out the get object, so thanks.
  18. hmm....

    I don't know much about DrawState, so I don't know if that's your problem or not, but try using bitblt or something like that.
  19. Replies
    2
    Views
    1,139

    HBITMAP and the rest...

    I'm trying to make a bitmap smoothing program for myself, and I believe I know how to do it, but my problem is, well, number 1 when i load the bitmap using LoadImage and then use...
  20. Replies
    7
    Views
    1,462

    other way...

    you could also use the case WM_MOUSEMOVE, one of the params - i don't remember which - is a POINT which is your mouse position. if you have bitmaps, you can use the PtInRect() command, which will...
  21. Replies
    19
    Views
    1,998

    the difference

    What is the difference between c and c++? I've had a compiler and i've been programming for a while. I program in WinAPI too. Frankly, I have no idea which one I program in.
  22. Replies
    3
    Views
    1,131

    the bitmaps...

    Startup: C:\logo.sys
    "it is now safe to shut off your computer": C:\windows\logos.sys
    "windows is shutting down": C:\windows\logow.sys

    you should probably make a copy of these if you are...
  23. Replies
    0
    Views
    1,593

    System Hook Problem.

    I set a global hook using SetWindowsHookEx, and my proc is in a dll and all that. It works, except I only get certain messages for the window i want. i get some messages (which i can't remember...
  24. Replies
    2
    Views
    1,329

    when you create your window, use...

    when you create your window, use
    CreateWindowEx()
    The first argument should be something like WS_EX_TOOLWINDOW or something like that. you'll have to look it up, but i believe it's something like...
  25. Thread: fscanf

    by DutchStud
    Replies
    6
    Views
    1,199

    try this...

    try something like this:


    int nInts;
    while(scanned=1) {
    if(fscanf(file, "%d\n", &size)==1) //return value returns how many fields were scanned and stored.
    {nInts++;} else
    {scanned=0;}
    }
Results 1 to 25 of 43
Page 1 of 2 1 2