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

Search:

Type: Posts; User: Evets23

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    12,024

    Re: How to Draw Rectangles on Screen

    Hi Nickel,

    I wanted to draw a rectangle because that's what I saw in another app (WinSpector Spy).

    With all the issues I ran into, though, I ended up doing exactly what you suggested -- a...
  2. Replies
    6
    Views
    12,024

    Re: How to Draw Rectangles on Screen

    Cthulhu,

    Thanks very much for working on this for me. For some strange reason rectangles do not get drawn when I run your application.

    I had to make one change. I changed this:

    var g =...
  3. Replies
    6
    Views
    12,024

    Re: How to Draw Rectangles on Screen

    TheGreatCthulhu, thanks.
    I tried your suggestion but it did not work. Let me know if I did something wrong.

    public void tempDrawRectUsingGraphicsObject(int x, int y, int width, int...
  4. Replies
    6
    Views
    12,024

    How to Draw Rectangles on Screen

    Hi,
    As part of research for a project I'm working on, I need to be able to locate hidden windows on my screen.

    Ideally I would do something like draw a colored recangle on the sreen at the...
  5. Replies
    2
    Views
    2,195

    Re: Can't Resize Window using SetWindowPos

    Hannes,

    Thanks,

    The window class is TSSHELLWND (remote desktop).

    Any help you can provide is appreciated.

    Steve
  6. Replies
    2
    Views
    2,195

    Can't Resize Window using SetWindowPos

    Hi,
    I'm developing on Windows XP and I need to resize a Remote Desktop window.
    I'm using the following code:


    try
    {
    SetWindowPos(hwnd, HWND_TOP, 801, 2, 1000, 743, SWP_SHOWWINDOW);
    }...
  7. Simulate right-mouse click on bookmark in a PDF

    Visual Studio 2005
    .Net Version 2.0

    I need to simulate a user doing a right-click on a bookmark in a PDF document, then chosing one of the options from the pop-up that appears after doing the...
  8. Replies
    3
    Views
    815

    Re: How View Form Resource File

    Mur16,
    Found it -- thanks.
    Don't know how I missed that.
  9. Replies
    3
    Views
    815

    How View Form Resource File

    Microsoft Visual Studio 2005
    Version 8.0.50727.42 (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727 SP1

    I have developed a form in Visual Basic and I need to export the form...
  10. Replies
    1
    Views
    1,816

    Post-build event causes build to hang

    Visual Studio 2005 Win XP

    I have a project that creates a dll that is used by a process. I was originally doing two manual steps: do the build, then start the process.

    I'm lazy :), so I defined...
  11. Re: How Get Member in a List by Its Position

    Thanks, Rale. Works fine.
  12. [RESOLVED] How Get Member in a List by Its Position

    Hi,

    I have a list of programmer-defined types:



    private static List<MyType> myTypeList = new List<MyType>();


    I would like to retrieve a member from the list based on its position in the...
  13. Re: [.net 2.0] Visual C# Equivalent of CWnd

    Hi Suja and Jonny,

    Thanks for the insight. I think I'll buy a book.

    Kind regards.
  14. Re: Need to Create Variable for ListBox on My Form

    Thanks Jonny. I will try that.
  15. [RESOLVED] [.net 2.0] Visual C# Equivalent of CWnd

    Preface -- I'm a C# novice so some of my terminology might be incorrect here.

    Does C# have an equivalent of MFC's CWnd? Several of the functions I want to perform I need to do via calls the win...
  16. Re: Need to Create Variable for ListBox on My Form

    Thanks a ton Jonny and Nelo. I'm learning a lot from this experience.

    I tried removing "static" from the EnumWindows prototype:


    [DllImport("user32.dll")]
    public extern int...
  17. Re: Need to Create Variable for ListBox on My Form

    Hi JonnyPoet,

    Thanks. My code is within a delegate -- a callback for EnumWindows.
    Within that delegate when I type listBox_windowsList. there are no code completions.

    Here is what I'm using:
    ...
  18. [RESOLVED] Need to Create Variable for ListBox on My Form

    I'm completely new to C#.

    I've created an app with a form that has a listbox that I need to populate. I thought I could simply refer to the listbox name as I defined it in the properties window as...
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured