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

Search:

Type: Posts; User: dodge55

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    2,613

    WPF C# binding textbox to DataGrid

    I have this working. However, the data doesn't show up initially in the text box. The first click highlights the textbox. The second click shows the data and the 3rd click puts it in edit mode.
    ...
  2. Replies
    1
    Views
    749

    Binding Text & Radio Buttons to a List

    I've successfully bound two strings to a list, but am having trouble figuring out how to bind text with 2 radio buttons properly.

    I have a zone array of 8 bytes, that holds On/Off values of the...
  3. Replies
    2
    Views
    1,109

    Re: Adding Text to a ListBox

    It's not WPF. It's only C#. I use WPF for some controls, but I want to use on the fly C# for different arrangements of the screen space. My code is:


    ListBox LBZoneDesc = new...
  4. Replies
    2
    Views
    1,109

    Adding Text to a ListBox

    Using C# only, I have made a ListBox with TextBoxes (of Zone Descriptions). Works fine. How can I add Text in front of the TextBox that says Zone 1, Zone 2, etc'? I have created both TextBlocks and...
  5. Replies
    0
    Views
    746

    Grid rows within a grid column wpf, c#

    I have a grid with 3 defined columns. Is there a way to divide column 1 into 3 grid rows without affecting the other 2 columns? I've tried defining RowDefinitions, but it spans all 3 columns. I...
  6. Replies
    0
    Views
    1,075

    C#, WPF - grouping textblocks and text boxes

    If a user selects among 2 systems, and 1 system has a list of text blocks and text boxes for 'Text Message #1' .... 'Text Message #5'. The second has up to 'Text Message #16'. I have defined the...
  7. Replies
    2
    Views
    5,711

    Re: Hiding combo box items

    Thanks for the options. I'm using WPF to define the combo box.
  8. Replies
    2
    Views
    5,711

    Hiding combo box items

    I have 2 different systems a user can choose from. The same screen appears no matter whether the user selects system 1 or 2. However, there is a drop down Item combo box that has 16 items, each...
  9. Replies
    0
    Views
    2,018

    using Thread, BackgroundWorker, and DoEvents

    I wrote some test code to try and understand the differences between 3 ways of doing background tasks while trying to update the UI in a reasonable fashion. What I did was to create a menu to select...
  10. Replies
    2
    Views
    2,976

    Re: Using DoEvents in WPF

    Thanks. I'll try that approach, too. I did get it working properly using my created DoEvents() method. I like the BackgroundWorker approach. It sounds more logical.

    Sutton
  11. Replies
    2
    Views
    2,976

    Using DoEvents in WPF

    Someone on one of the forums got me started in updating a TextBlock control on demand by using a created version of DoEvents(), which isn't supported by WPF. It works, but doesn't update on the 2nd...
  12. Replies
    3
    Views
    685

    Re: Updating the current window on demand

    There is no Refresh option in WPF.

    Just setting the Visibility doesn't work. It waits until the 10 seconds are completely up before executing.

    I think a Dispatcher method is almost the only...
  13. Replies
    3
    Views
    685

    Updating the current window on demand

    I have a WPF control TBStatus that is a TextBlock, with a hidden 'Please Wait...'.

    What's the best way to actually update the screen after each delay? It waits the 10 seconds and puts up the...
  14. Replies
    0
    Views
    657

    Displaying a List to a ComboBox

    I'm trying to get a list of removable drives to a combobox, but I'm having a few issues. See code below. CBDrives is a combobox set up in my WPF code for the window that displays the drives.
    ...
  15. Replies
    1
    Views
    982

    Text message in a window on the fly

    In C#, if I select a menu item in a window (Radio Button), and press Select, it takes a short while before the next window pops up. How do I display in the menu window a 'Please Wait' message? I'm...
  16. Replies
    0
    Views
    3,804

    Array of Schedule Rectanges

    I am trying to display 8 schedule block rectangles on my grid.

    Rectangle[] ScheduleRectangle;

    for (i = 0; i < 8; i++)
    {
    ScheduleRectangle[i] = new Rectangle();
    ...
  17. Replies
    2
    Views
    624

    Re: Border vs. Rectangle

    Well, I figured out the Horizontal and Vertical Alignment problem, but still haven't figured out whether Border or Rectangle is the best approach. Both seem to work the same.

    However, it looks...
  18. Replies
    2
    Views
    624

    Border vs. Rectangle

    I'm creating a Schedule app. within a grid. Should I use a Border or Rectangle to make the Schedule?

    Currently, I'm using a Border with 'tick marks' on the 15, 30, 45 mins of each hour of the...
  19. Replies
    1
    Views
    4,287

    Scheduler design questions - need input

    I have a weekly schedule that has the control structure as shown by this captured picture link.

    http://www.lookoutportablesecurity.com/sutton/schedule.bmp

    The rectangles are Control Borders...
  20. Replies
    1
    Views
    681

    DOS based to Windows Programming

    I have been developing embedded systems for many years in 'C' and developed a serial interface to our products thru a DOS based system many years ago. This DOS based system runs on WinXP and...
  21. Replies
    5
    Views
    655

    Re: Old Microsoft C V6.0 workaround

    This is an old DOS based program from years ago compiled under MC 6.0 compiler. Someone told me I couldn't implement the API functions into this type of program, unless it was a console ap in text...
  22. Replies
    5
    Views
    655

    Re: Old Microsoft C V6.0 workaround

    It's a function provided by Microsoft 'C' V6.0. It's listed in the Graphics Modes section in the Microsoft 'C' Bible. It is used to set up graphics hardware to work in one of 20 modes that are...
  23. Replies
    5
    Views
    655

    Old Microsoft C V6.0 workaround

    I have some old Microsoft 'C' software (V6.0) that is still useful from time to time for some of our customers. I'm trying to come up with a workaround for a problem on 2000 and XP, but there may...
  24. Replies
    3
    Views
    1,276

    Re:

    In the standard WinAPI shell skeleton, there is a LoadIcon(NULL,IDI_APPLICATION) which puts the standard default icon next to the Application name. I thought if I defined my own icon (.ico), I could...
  25. Replies
    3
    Views
    1,276

    Visual C++ 6.0 Resource Icon ?

    I'm pretty new to Visual C++, but proficient in Microsoft 'C'. When using VC++, with a Win 32 App, I am trying to import a 16x16 icon to display at the top left of the top border next to the...
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured