Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

S O S

@S O S
About
Posts
134
Topics
58
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Getting rid of the enter beep
    S S O S

    I tried, but it didn't seem to work. But I fixed it with a default button that's positioned outside the form :)

    C# question

  • Getting rid of the enter beep
    S S O S

    How can I get rid of the beep that happens when I press enter on a form with no default button?

    C# question

  • KeyDown for arrows
    S S O S

    I tried that, but when I put a breakpoint there, I see the function never gets called... hmm?

    C# question

  • KeyDown for arrows
    S S O S

    How can I get the KeyDown event to fire for the arrow keys?

    C# question

  • Creating child window
    S S O S

    Thanks! That worked. However, the window is created with the WS_CHILD style, which makes it be "inside" the main window. This I do not want. How can I make it not use the WS_CHILD style, but still have the main window as its parent? I don't see any place to specify the window styles manually...

    C# question

  • Creating child window
    S S O S

    Well, method 1 gives me:

    An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll

    Additional information: Cannot add a top level control to a control.

    And neither my own form nor the System.Windows.Forms.Form class has a (Form) constructor...

    C# question

  • Creating child window
    S S O S

    How can I create a form as a child window of another form?

    C# question

  • 6.0 to Dot-Net Conversion
    S S O S

    If you open a dsp/dsw, VS.Net will ask you to automatically convert it. So open your main workspace file with all the projects and say "Yes to all" and that should be it.

    .NET (Core and Framework) tutorial c++ question

  • C# and BitBlt
    S S O S

    I remember when I did some drawing, it came out black if the bitmaps were of incompatible format. (Maybe the form is 256 colours and bitmap is 32bit? Then 256 colours -> 32bit conversion is easy, but 32bit -> 256 is not. I'm not sure if it converts like that, but it's possible)

    .NET (Core and Framework) csharp graphics question

  • Global Variables ...wtf
    S S O S

    Make the second form's constructor have some parameters that receive it?

    C# question winforms

  • Topmost windows
    S S O S

    No, that's not what I need. What I need is to know what window is getting activated, so I don't turn the topmost window invisible when I click on it.

    C# help question

  • WndProc Within a class
    S S O S

    You can't put it in a class. All non-static class functions have a hidden "this" argument, so the function signature won't match with the WNDPROC one.

    C / C++ / MFC help

  • Modifying window without activating
    S S O S

    How can I top/detop (TopMost property) and show/hide a window without activating it? In C, there was the SetWindowPos() function that had an activate flag, but I don't see any such thing in .Net.

    C# question csharp

  • System properties
    S S O S

    Maybe Control.DefaultFont and Control.DefaultIForgotWhat can help you.

    C# question com regex announcement

  • Topmost windows
    S S O S

    There's an always on top window in my app, but I have an annoying problem with it. The window is just a normal window with TopMost set to true. Now this works fine, but I want the window to dissappear if another app gets focus. I tried pussing topwindow.Visible = true; in the Activate event and topwindow.Visible = false; in the Deactivate event, but these events get called even when another window in my app gets actiavted, so whenever I click on the topmost window, it dissappears because the main window gets deactivated. Is there a way to prevent the topmost window from getting focus at all? (But still use it as normal, just no focus. By normal I mean still have it receive mouse clicks.) Or some way to determine what window is getting focus in the Deactivate event? Or some other way to fix this?

    C# help question

  • AutoScroll jumping to 0
    S S O S

    I have a window with AutoScroll set to true, but I seem to have some odd problem wtih it. Whenever the window gets focus, the scrollbars jump to 0. How can I fix this?

    C# help question

  • Setting GetAsyncKeyState() output?
    S S O S

    How can I set the key states that GetAsyncKeyState() returns? SetKeyboardState only sets the ones that the other keyboard functions return, but GetAsyncKeyState() is global it seems.

    C / C++ / MFC question

  • WH_CALLWNDPROC global hook not receiving messages?
    S S O S

    Is a WH_CALLWNDPROC global hook not supposed to catch WM_KEYUP/WM_KEYDOWN messages for some reason? I have an edit control hooked, but I can't get these messages. I do get some normal ones (focus, destry, a few edit control ones), so I know it is hooked right :/ Spy++ shows the WM_KEYUP/WM_KEYDOWN messsages fine.

    C / C++ / MFC question

  • C DLL -> C# DLL possible?
    S S O S

    Thanks

    C# csharp question

  • C DLL -> C# DLL possible?
    S S O S

    Thaank you

    C# csharp question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups