Search:

Type: Posts; User: nakedBallerina

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    7,048

    First make sure it is in the lib file. If you...

    First make sure it is in the lib file. If you have grep do something like:

    grep -i setlayeredwindowattributes *.lib

    from your lib directory. If you don't have grep you could open the user32.lib...
  2. Replies
    0
    Views
    1,277

    Detecting task bar activity

    Is there a specific message I can look for from any place in my program to determine when the program's taskbar button has been pressed?

    My primary window is opened as:


    WS_POPUP | WS_SYSMENU...
  3. Replies
    21
    Views
    5,181

    Agreed. (But then I DID warn you when I started...

    Agreed. (But then I DID warn you when I started thinking.)

    To ensure all comes up clean I suppose following the malloc with a memset would work.

    Dale L
  4. Replies
    21
    Views
    5,181

    Thanks for the info Salem. Wish I had known about...

    Thanks for the info Salem. Wish I had known about the malloc situation years ago. I can remember pulling my hair out over the unexpected characters.

    I'm thinking now (beware!)

    What if you took...
  5. Replies
    66
    Views
    15,846

    Naked Ballerina is just the name of a recent...

    Naked Ballerina is just the name of a recent series of paintings I did. People started tacking it to me. In reality I am neither naked nor a ballerina.

    Dale L
  6. Replies
    21
    Views
    5,181

    Thanks again for everyone's input. I dug around...

    Thanks again for everyone's input. I dug around and found the old code from which this originates. Mind you, this works but it doesn't feel right and I'm not sure of one particular part. I stripped...
  7. Replies
    21
    Views
    5,181

    Let me make sure I understand: setting it to NULL...

    Let me make sure I understand: setting it to NULL will actually defeat the malloc? So if I set nBody to NULL before doing anything with it I would be defeating the malloc?

    In other words, I would...
  8. Replies
    21
    Views
    5,181

    Thanks for the input. While the WriteFile line I...

    Thanks for the input. While the WriteFile line I gave was not quite a real life example, your comments certainly did help shake the cobwebs and clear things up. Thanks.

    Now, if you don't mind,...
  9. Replies
    21
    Views
    5,181

    Elysia, yes. Thanks. I've got it all working in...

    Elysia, yes. Thanks. I've got it all working in standard C routines. I was curious as to how it would be done with win32's WriteFile. I pulled the following line from some old code that didn't work:...
  10. Replies
    21
    Views
    5,181

    Elysia, agreed. Hence my copies of K&R and...

    Elysia, agreed. Hence my copies of K&R and Petzold are pretty much resident on my desk. Going through Petzold it is obvious that he is trying to remain win32 compliant. So one day I get to playing...
  11. Replies
    21
    Views
    5,181

    Elysia, thank you. As I read your reply I was...

    Elysia, thank you. As I read your reply I was banging my head and saying "I knew that." All too often I get caught in the act of thinking content or value rather than pointer. This probably comes...
  12. Replies
    37
    Views
    390,942

    Sticky: Begging to differ on the act of commenting code....

    Begging to differ on the act of commenting code.

    I try to make myself comment every line as I code. Actually, I've had more than one instructor and/or associate insist that such is the best...
  13. Replies
    21
    Views
    5,181

    the basics of malloc

    I've enjoyed many of your posts and decided to register and pick your minds if you don't mind.

    Somehow I've managed to program for a LONG time and never bothered to understand some things. All too...
Results 1 to 13 of 13