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

Search:

Type: Posts; User: kender_a

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,316

    declaring a const object in C#

    Folks,

    I used to be an enthusiastic C++ writer. Currently, I’m going up the learning curve of .NET and C#.

    From what I’m reading on the web, only the C# built-in types may be declared as...
  2. Grid control like in VS2008 properties window

    Folks,

    Properties window in visual studio is built around a nice grid control (or tree-grid control even). Does Microsoft provide a control like that to developers? Iíd like to use it on my own...
  3. Re: Opaque controls on a completely transparent form

    Hey Bill,

    Actually, I was able to find the article from the GUID in the original version of the link. :D

    The article, however, deals with custom controls. It suggests to call the protected...
  4. Re: Opaque controls on a completely transparent form

    That was illuminating. Thanks.

    One thing that makes this problem a little more interesting is that one of the controls is a picture with irregular outline. The image itself is drawn with only a...
  5. Opaque controls on a completely transparent form

    Folks,

    As everyone have noticed, the Form class has the Opacity property. It sets the opacity of the form and all of the controls. But is it possible to have opaque controls (e.g. picture boxes)...
  6. Replies
    0
    Views
    700

    Swapping control into a different parent

    Colleagues,

    What I'm trying to achieve is kind of an undocking behavior, where a control can undock from one form and float in a different form. My code is based on a working reference design. ...
  7. How does WinForms label control handle focus? (a newbie question, perhaps)

    Folks,

    There is a panel which contains 2 components: a label and a TreeView. The hierarchy, obviously, looks like this:


    panel1 // handles Enter event
    - label1
    - treeView1

    I need...
  8. Adding an event handler (a newbie question, perhaps)

    Is there a difference between the following 2 lines of code?

    m_ctrPanel.Leave += this.OnLeave;
    and

    m_ctrPanel.Leave += new System.EventHandler(this.OnLeave);
    Obviously, they serve the same...
  9. Replies
    2
    Views
    1,407

    Re: problem with setting Top & Left of a form

    That solved my problem.
    Thank you, BigEd!
  10. Re: Can't figure out how to structure my loops

    Sometimes recursion helps answer questions like yours. What you're describing sounds like a tree-like structure (by the way, posting a diagram wouldn't hurt, if you can make one). Get a text book...
  11. Replies
    2
    Views
    1,407

    problem with setting Top & Left of a form

    Colleagues,

    I’m doing some recreational programming. I'm trying to display a semi-transparent form (overlay) over a control. (The purpose of the overlay is to show that a control can be a target...
  12. Replies
    2
    Views
    2,351

    Re: SafeArrayTypeMismatchException

    Attributes in my struct weren't correct. I've figure that out with some help from the community.
    http://stackoverflow.com/questions/4542894/ptrtostructure-generates-safearraytypemismatchexception...
  13. Replies
    2
    Views
    2,351

    SafeArrayTypeMismatchException

    Folks,

    Please help me chase out a SafeArrayTypeMismatchException that I keep getting. I need to pass a struct to unmanaged DLL. One of the struct members is a variable-length array. Unmanaged...
  14. View Post

    In plain C, I would do this:

    void GetArray(
    mytype* pBuff // [out] Pointer to the buffer in which array is returned to the calling code.
    int iBuffLen); // [in] Length of the buffer...
  15. Replies
    1
    Views
    305

    Re: Delete Please.

    You've posted how you've resolved it. Now everyone is curious what the problem actually was... :)
  16. Replies
    2
    Views
    1,210

    Re: newbie WinForms DataBinding question

    That's what I'm looking for. I know the name of the object (of my own class) and the property. How can I set-up the binding using Visual Studio designer tools?

    P.S. I know how I would set up...
  17. Replies
    2
    Views
    1,210

    newbie WinForms DataBinding question

    Folks,

    Iím doing my first project with WinForms, and Iím trying to get the DataBinding working. Thereís no database in my project, but Iíd like to bind some of the TextBoxes to runtime object...
  18. Replies
    2
    Views
    2,865

    Advanced ComboBox in WinForms

    Colleagues,

    Is there a standard (and free) control which is like a ComboBox, only better? ;) Some of the potential features could be:

    * being able to control the font for each of the items...
  19. An issue with the file name SerialPortSettings.xml

    Colleagues,

    In XAML Iím trying to declare XmlDataProvider objects to bind controls to XML files.

    <XmlDataProvider x:Key="SerialPortOptions" Source="Settings/SerialPortOptions.xml"...
  20. Replies
    1
    Views
    3,627

    Re: Pre-setting the ComboBox selection in XAML

    Resolved. Assigning SelectedValue instead of SelectedItem worked.

    The working XAML looks like this:

    <ComboBox Name="cboBaudRate"
    Grid.Column="1" Grid.Row="1"...
  21. Replies
    1
    Views
    3,627

    Pre-setting the ComboBox selection in XAML

    Colleagues,

    I would like to pre-set the ComboBox in XAML. For example, there are 3 options: ď4800Ē, ď9600Ē, ď19200Ē. I know that the text of the pre-selected item is ď9600Ē. Which properties of...
  22. Binding ComboBox to XML data. Having a problem.

    Folks,

    I was able to bind my ComboBox to an XML file, but thereís a ďsmall cosmeticĒ problem. The data in the XML file looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <Options>
    ...
  23. Replies
    3
    Views
    4,761

    View Post

    Could you explain how to define the static resource? It probably should look like:

    <Window.Resources>
    <!-- what goes here? -->
    </Window.Resources>
    But what goes in the middle?...
  24. Replies
    3
    Views
    4,761

    View Post

    Colleagues,

    Iím experimenting with data binding. I wrote a simple test program with only one object representing a person and two TextBoxes bound to its properties (first and last names), which...
  25. Replies
    2
    Views
    1,825

    Is it possible to bind to a field?

    Colleagues,

    I have a text box which binds to data:

    <TextBox x:Name="textBox1" Text="{Binding Path=Comments}" Width="200" Margin="0,4" />
    If Comments is declared as a property, the binding...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center