Click here to Skip to main content
16,019,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Selected text in TreeNodes Pin
Heath Stewart30-Jan-04 5:14
protectorHeath Stewart30-Jan-04 5:14 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 5:18
Guinness4Strength30-Jan-04 5:18 
GeneralRe: Selected text in TreeNodes Pin
Anonymous31-Jan-04 2:37
Anonymous31-Jan-04 2:37 
QuestionAnyone Know a better way ? Pin
Guinness4Strength30-Jan-04 3:49
Guinness4Strength30-Jan-04 3:49 
AnswerRe: Anyone Know a better way ? Pin
Heath Stewart30-Jan-04 4:59
protectorHeath Stewart30-Jan-04 4:59 
GeneralRe: Path.Combine Pin
Mike Osbahr30-Jan-04 9:19
Mike Osbahr30-Jan-04 9:19 
GeneralRequest help for 2 newbie questions Pin
bouli30-Jan-04 3:06
bouli30-Jan-04 3:06 
GeneralRe: Request help for 2 newbie questions Pin
Wizard_0130-Jan-04 3:23
Wizard_0130-Jan-04 3:23 
bouli wrote:
1) What is the equivalent of Win32 GetSysColor() function in .NET?

It is System.Drawing.SystemColors class



bouli wrote:
2) I would like to have the equivalent in C# (.NET) of the following C++ (MFC) statement:

class CMyWindow : public CWnd
{
...
}
While CWnd is an MFC class that represents a basic window.
I want to write my own control and use it



Use System.Windows.Forms.Form for forms(dialogs). But for controls like button, user-controls use System.Windows.Forms.UserControl or Control. Here big difference between MFC and .NET. In MFC can be CWnd dialog and control(I used these for nested dialogs - one dialog owns another), but in .NET only classes delivered from System.Windows.Forms.Form can be dialogs and cannot contain any forms.


Wizard_01
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 3:31
bouli30-Jan-04 3:31 
GeneralRe: Request help for 2 newbie questions Pin
Mazdak30-Jan-04 3:40
Mazdak30-Jan-04 3:40 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 3:42
bouli30-Jan-04 3:42 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 3:54
bouli30-Jan-04 3:54 
GeneralRe: Request help for 2 newbie questions Pin
Mazdak30-Jan-04 4:32
Mazdak30-Jan-04 4:32 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 4:36
bouli30-Jan-04 4:36 
GeneralRe: Request help for 2 newbie questions Pin
Mazdak30-Jan-04 4:45
Mazdak30-Jan-04 4:45 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 5:08
bouli30-Jan-04 5:08 
GeneralRe: Request help for 2 newbie questions Pin
Heath Stewart30-Jan-04 4:51
protectorHeath Stewart30-Jan-04 4:51 
GeneralRe: Request help for 2 newbie questions Pin
Mazdak30-Jan-04 5:00
Mazdak30-Jan-04 5:00 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 5:06
bouli30-Jan-04 5:06 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 5:10
bouli30-Jan-04 5:10 
GeneralRe: Request help for 2 newbie questions Pin
Heath Stewart30-Jan-04 5:24
protectorHeath Stewart30-Jan-04 5:24 
GeneralRe: Request help for 2 newbie questions Pin
bouli30-Jan-04 5:28
bouli30-Jan-04 5:28 
GeneralRe: Request help for 2 newbie questions Pin
TuringTest13-Feb-04 22:55
TuringTest13-Feb-04 22:55 
GeneralRe: Request help for 2 newbie questions Pin
Heath Stewart4-Feb-04 3:35
protectorHeath Stewart4-Feb-04 3:35 
Generalpdf printing Pin
amadeonMk30-Jan-04 2:41
amadeonMk30-Jan-04 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.