VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Banned
    Join Date
    Apr 2001
    Location
    Calgary, Canada
    Search Comp PM
    I'm writing a program in C# using VS.NET 2003. I am using a runtime manifest (RT_MANIFEST) and setting the component FlatStyle's to System to enable the XP skinning style of components that support it. Basically, setting up all the components to look like native XP components. This works on all components so far...

    However, I can't seem to figure out how to do this to the NumericUpDown component.

    I get this (from my program):

    but I want this (from the Windows Date and Time Properties Dialog):

    Anyone have any suggestions?
    Quote Quote  
  2. Member ChrissyBoy's Avatar
    Join Date
    Feb 2003
    Location
    Yorkshire!
    Search Comp PM
    It can't be done. The NumericUpDown component does not have a flatstyle property. You will have to create a custom control (or find one that someone else can provide).... In the most simple case: Create a componet which inherits from the NumericUpDown class and override the OnPaint event. In your overriden OnPaint method perform some GDI+ routins to get the look you are after.
    SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
    VOB2MPG PRO, Extract mpegs from your DVDs - with you in control!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!