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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
L

LannieK

@LannieK
About
Posts
13
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Preserving comments with XmlDocument.Load
    L LannieK

    I am reading an XML file in using XmlDocument. The XML file may contain comments that I want to capture and deal with. When I look at the nodes that XmlDocument returns, though, there are no XmlComment nodes. I can see how to create comments using the CreateComment method, but how do I preserve them when I read them in?

    C# question xml tutorial

  • Help on Context Sensitive Help
    L LannieK

    Hello, all. I am trying to implement context-sensitive help using the "Help cursor" functionality. I want to be able to handle the HelpRequested event generated when the user clicks on a control using the Help cursor. I am trying to do this on a top-level form that has to have the Minimize and Maximize buttons available, though, so setting HelpButton to true for the form doesn't make the Help button be displayed. So, my question is this: Can I do something to make the Form think that the Help button has been clicked, so that it displays the Help cursor and will generate a HelpRequested event when the user clicks on a Control? Thanks!

    C# question help

  • Disappearing Help window
    L LannieK

    That worked just fine. Thanks! Is there any way I can access individual topics this way for context-sensitive help?

    C# csharp help question

  • Disappearing Help window
    L LannieK

    I have just added help to my C# application, and it invokes the Help window when F1 is pressed just as it should. However, I find that the help window itself disappears or is covered by my app (the app is always maximized) whenever the app loses focus. For reasons I won't go into at the moment, my app creates additional windows that it arranges for itself, but I don't know if this has any bearing on the matter. All I can say for sure is that if my app loses the focus, the Help window disappears. It comes back if I click on the title bar of my app to get focus back, but if I click on the title bar of the Help window, my app loses focus, and the help window goes away again! Does anyone know of a setting I may have made in my app that would cause this behavior?

    C# csharp help question

  • Changing the scroll bar color
    L LannieK

    Hello, all. I am using a non-standard color scheme for my app. My problem (well, one of them...) is that I can't seem to set the color of the scroll bar, or the scroll arrows for a TabControl. No matter what I set the BackColor for the app to be, the scroll bar and scroll arrows seem to refuse to be anything but the default color for controls in the entire system. Is there any way to override these colors without painting them myself? Thanks! And happy holidays!

    C# help question

  • Hidden MainForm at startup
    L LannieK

    Would setting the Location property in the Designer to have a Y value of, say, 3000, to put it off the display entirely, keep the flash from being seen?

    C# question

  • Setting BackColor on TabControl
    L LannieK

    P.S. I tried casting the TabControl to Control, and setting the BackColor on the cast. No luck.

    C# question

  • Setting BackColor on TabControl
    L LannieK

    Greetings, all! I'm trying to change the background color on a TabControl, as you may have guessed from the subject. I see that it inherits from Control, which has a BackColor property, but that property doesn't seem to be exposed in the TabControl. I can change the BackColor for the individual TabPages in the control, but unless I can change the TabControl's BackColor, it looks terrible. So, the question is, how do I change the BackColor (and ForeColor, for that matter) in a TabControl? :confused:

    C# question

  • Shrinking Toolbar images
    L LannieK

    That solved the problem! I made a new ImageList, with the right properties set, added the exact same image to it, then associated the image list with the toolbar. Now the image is behaving properly, including the transparency. Thanks!

    C# database help question

  • Shrinking Toolbar images
    L LannieK

    The ButtonSize is shown as 24, 24. That should be plenty for a 16x16 image. The button is displayed with a gap of several pixels between the shading on the edges of the button and the shrunken image.

    C# database help question

  • Shrinking Toolbar images
    L LannieK

    I am making my first attempt at using the ToolBar. I have defined an ImageList, and put a 16x16 pixel in it, and associated the first button in my ToolBar with index 0. The problem is, the image that is already only 16x16 shows up on the ToolBar button as shrunken to an even smaller size. AutoSize is set to true for the ToolBar, and the ImageList shows the image size as 16x16. Am I missing an important setting? What could be causing the incredible shrinking image? And on a tangent, why doesn't the Transparent property of ImageList work?:confused:

    C# database help question

  • "Embedding" a form in a form
    L LannieK

    Greetings! I am trying to create a form dynamically by instantiating its class. Call this FormContainer. On construction, FormContainer creates a different form, Form2, and makes itself the owner of Form2 by calling AddOwnedForm. Now, I would like to be able to fix Form2 so that it looks like a panel in FormConatiner, so that it moves and resizes along with FormContainer. Is there any way to do this without manually moving and resizing Form2 every time FormContainer is moved or resized? LannieK

    C# help question

  • Window not restoring from Task Bar
    L LannieK

    I have an application that was created using VC++ that does not restore when it is minimized on the Task Bar. Well, technically, it will restore if you right-click on it and select "Restore," but it does not restore if you just click on it. I suspect that it may be related to the fact that the app has no menu, but that isn't supported by any data. I haven't seen any mention of anyone with a similar problem, so I thought I'd ask here if anyone has encountered similar problems and if there are any solutions.

    C / C++ / MFC c++ help
  • Login

  • Don't have an account? Register

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