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

Search:

Type: Posts; User: chals1

Page 1 of 3 1 2 3

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    8,173

    Re: GetDC(NULL) fails on Vista

    Thanks!! So i'll try to place a translucent form on top of the screen, with alphaBlend equal to one.
  2. Replies
    5
    Views
    8,173

    Re: GetDC(NULL) fails on Vista

    I don't have a solution yet so let's try to elaborate more.
    I have a form to magnify desktop on real time, with WS_EX_LAYERED extended style. Then I call SetLayeredWindowAttributes to set the...
  3. Replies
    5
    Views
    8,173

    Re: GetDC(NULL) fails on Vista

    I have a form to magnify screen while the user moves the cursor. This code works well on xp but it flickers non-stop on vista. It seems that getdc(null) behaves in a different way on this OS and...
  4. Replies
    5
    Views
    8,173

    GetDC(NULL) fails on Vista

    GetDC(NULL) seems is not Vista compatible anymore, in order to retrieve desktop screen.
    What could i use instead ? Thanks
  5. Replies
    2
    Views
    908

    off-centered statusbar

    Is it possible to place a status bar this way ?
  6. Replies
    1
    Views
    2,581

    Highlight text in textbox on mouse over

    Hello,
    How could I highlight the textbox content when the mouse get into it ? This way user could replace its content by whatever he type in.
  7. Replies
    1
    Views
    600

    Always having the foreground

    How can I prevent a form from loosing the foreground ?
    I haven't been able to get it to work with any of this functions
    SetForegroundWindow, BringWindowToTop, SetActiveWindow
  8. Thread: J2ME on Siemens

    by chals1
    Replies
    0
    Views
    553

    J2ME on Siemens

    Hello,

    I'm working on a hobby project for my cellular phone. It's a Siemens CF75.
    I'm trying to open a text file but seems this phone doesn't support the JSR 75 api
    Coud you post some midlet...
  9. Thread: SetWindowPos

    by chals1
    Replies
    1
    Views
    1,696

    SetWindowPos

    I want two forms to be always on top of any window.Besides, form1 must be on top of form2. I haven't been able to get this last thing to work with SetWindowPos. Some help please?
  10. Replies
    1
    Views
    1,506

    Drawing on Transparent Window

    If I draw on a transparent form with an alpha value set to a low opacity, say 5%, it becomes transparent . How can i draw opaque lines on transparent windows ?
    Thanks
  11. Replies
    1
    Views
    1,197

    capture layered form

    Hello,
    I want to use as DC source in StretchBlt the one corresponding to a layered form. How could i capture that form as well as what's below it ?
  12. Replies
    0
    Views
    638

    WindowFromPoint & control border

    Hello,
    I'm trying to measure width and height of control below pointer mouse.
    I want the current border to be highlighted in red. How could i achieve this apart of painting a rectangle over screen ?
  13. Replies
    0
    Views
    533

    several windows on topmost

    Hi
    I'd like to know how to put two windows always on top of anything but one of them must be on top of the other window
  14. Replies
    5
    Views
    1,526

    Re: rectangle around windowfrompoint handle

    Then i assume i have to get that offset between the rectangles of getclientrect and getwindowrect, and include it when drawing onto hdc ??
    Thanks
  15. Replies
    5
    Views
    1,526

    Re: rectangle around windowfrompoint handle

    Thank you both !! The two ways work fine :

    rectangle + setrop2
    DrawFocusRect, calling it a second time to remove the same rectangle

    I'm facing another problem now that i want to draw onto each...
  16. Replies
    5
    Views
    1,526

    rectangle around windowfrompoint handle

    Hi
    I want to draw a rectangle border around the window returned by windowfrompoint. I use GetWindowRect in that handle and then draw a red rectangle onto getdc(0). Can you tell me how to erase the...
  17. Replies
    2
    Views
    616

    how to disablñe alt+f4 ?

    Hello,
    I'd like to know how to disable alt+f4 in a given form to prevent user from closing that way
  18. Replies
    3
    Views
    545

    Re: Transparent forms

    Oh sorry. I was getting a wrong device context
  19. Replies
    3
    Views
    545

    Re: Transparent forms

    Sorry for my english
    I got two semi-transparent forms, one on top of the other, and want to see through the top form whats drawn onto the other form; but i just can see desktop and nothing drawn on...
  20. Replies
    3
    Views
    545

    Transparent forms

    Hi
    I have two transparent windows with WS_EX_LAYERED and 40% alpha.
    I'd like to see what is painted on one of the forms through the other on top, but this second form only displays what's below the...
  21. Replies
    5
    Views
    645

    Re: Number of Pixels in a form?

    Thank you very much !!

    I'll try to extract every rectangle from the RGNDATA buffer that contains the RECT structures

    regards
  22. Replies
    5
    Views
    645

    Re: Number of Pixels in a form?

    edit
  23. Replies
    5
    Views
    645

    Re: Number of Pixels in a form?

    Thanks, but i had in mind irregular shaped forms. Maybe there's a bmp function to count pixels to avoid using GetPixel. Any further help, please?
  24. Replies
    5
    Views
    645

    Number of Pixels in a form?

    Hello,
    I want to count how many pixels there are in a window.
    Is there another way apart from using GetPixel to access each pixel ?
  25. Replies
    9
    Views
    10,853

    Re: getting WindowHandle from CreateProcess

    I think there was a command named GetHandleFromPid in FBSL, a basic language
Results 1 to 25 of 52
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured