Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Apoch

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    411

    Delete your .ncb, .clw, .opt, and .plg files,...

    Delete your .ncb, .clw, .opt, and .plg files, then do a full rebuild of your project.
  2. Replies
    13
    Views
    752

    Trap the WM_GETFOCUS and WM_KILLFOCUS messages;...

    Trap the WM_GETFOCUS and WM_KILLFOCUS messages; in WM_GETFOCUS, call your transparency code. In WM_KILLFOCUS, call SetWindowLong() and remove the WS_EX_LAYERED flag.


    Or you can call...
  3. Replies
    13
    Views
    752

    Have you tried completely rebuilding the...

    Have you tried completely rebuilding the solution? (i.e. Clean Solution, Build Solution)
  4. Replies
    13
    Views
    752

    Add this line at the beginning of your OnButton1...

    Add this line at the beginning of your OnButton1 function:

    SetWindowText("Window should now be transparent.");

    and see if the title of the window changes when you click the button.


    Also,...
  5. Replies
    13
    Views
    752

    What exactly isn't working about it? I dropped...

    What exactly isn't working about it? I dropped that code in a test project and it works fine...


    Are you sure you're using Windows 2000 or later?
  6. Replies
    13
    Views
    752

    How are you getting the hWnd, and where is this...

    How are you getting the hWnd, and where is this code?
  7. Thread: Picture control

    by Apoch
    Replies
    5
    Views
    505

    Interesting... learn something new every day :)

    Interesting... learn something new every day :)
  8. Thread: Picture control

    by Apoch
    Replies
    5
    Views
    505

    Yes, but ::LoadImage only applies to bitmaps...

    Yes, but ::LoadImage only applies to bitmaps which are already in the app's resource table.
  9. Thread: Picture control

    by Apoch
    Replies
    5
    Views
    505

    To use bitmaps at design time, you have to...

    To use bitmaps at design time, you have to include all bitmaps in your resource file, because of how Windows .EXEs work. If you want to load the bitmap at runtime, look into the GDI+ library,...
  10. Replies
    1
    Views
    874

    doubles are not precise. Never, ever, ever, ever,...

    doubles are not precise. Never, ever, ever, ever, ever use a precise equality (==) test on a double or a float. Rework the code so you can use a different test; such as:

    if(fabs(d - 100.0) <...
  11. I specifically buy components that are designed...

    I specifically buy components that are designed for high-use server applications, so I don't have to worry. Its a major advantage of building one's own systems. The only computer I ever blew up from...
  12. Replies
    4
    Views
    1,640

    Yeah, this is a REALLY good one. You should try...

    Yeah, this is a REALLY good one. You should try it out sometime.
  13. Replies
    5
    Views
    669

    I think the three big focal points are a constant...

    I think the three big focal points are a constant desire to learn and explore, a highly analytical mind, and a good understanding of how to interact with other people.

    Learning and exploring is...
  14. Replies
    5
    Views
    964

    Yes, it should be. If memory serves, I've...

    Yes, it should be. If memory serves, I've actually done that before :) Just don't count on the parent window hanging around long enough to receive and process the message unless you return 0 from...
  15. Replies
    13
    Views
    802

    The text I gave you is called a registry key. It...

    The text I gave you is called a registry key. It represents an entry in the registry.

    Open regedit.exe
    Open HKEY_LOCAL_USER
    Open each folder in the list (Software\Microsoft\etc.)
    When you get...
  16. Replies
    5
    Views
    964

    According to MSDN...

    According to MSDN, calling DestroyWindow() will destroy all children first, then the parent window.
  17. Replies
    10
    Views
    669

    If your data is guaranteed to be precisely 15...

    If your data is guaranteed to be precisely 15 bytes, then use char arrays, as they make more sense in the solution. Otherwise, always opt for the generic solution and use a pointer to a string...
  18. Replies
    5
    Views
    964

    As far as I know MFC ensures that child windows...

    As far as I know MFC ensures that child windows unload before the parent, unless you are doing something "creative" like adding the child window at run time... or am I mistaken about that?
  19. Replies
    2
    Views
    345

    I usually grab a screenshot with Alt+PrntScrn,...

    I usually grab a screenshot with Alt+PrntScrn, paste it into Paint, use the color picker to grab the color, then go to Colors/Edit Colors to get the RGB values. You could probably also write a very...
  20. Replies
    13
    Views
    802

    HKEY_LOCAL_USER\Software\Microsoft\Windows\Current...

    HKEY_LOCAL_USER\Software\Microsoft\Windows\CurrentVersion\Run

    Just add a key there and put in your program, it should start up on boot.
  21. Replies
    13
    Views
    802

    I'm not sure what you're trying to do. Could you...

    I'm not sure what you're trying to do. Could you describe it in a bit more detail? Thanks!
  22. Thread: help

    by Apoch
    Replies
    5
    Views
    600

    That's a difficult problem, as the Internet...

    That's a difficult problem, as the Internet exists to solve this problem, but we can't use it :)

    If you can dial into another computer from the UK server, you should be able to set up a VPN on...
  23. Replies
    6
    Views
    674

    You're right... wasn't thinking :)

    You're right... wasn't thinking :)
  24. Replies
    5
    Views
    654

    I personally went into programming as a...

    I personally went into programming as a free-lancer, mostly because I despise the concept of working for someone else (rather than for lack of job openings), but the principles are the same. I've...
  25. Replies
    13
    Views
    802

    Have a look at the Shell_NotifyIcon() API...

    Have a look at the Shell_NotifyIcon() API
Results 1 to 25 of 44
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center