Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
QuestionMoving a control with the mouse Pin
sinosoidal6-Jun-07 5:49
sinosoidal6-Jun-07 5:49 
AnswerRe: Moving a control with the mouse Pin
I Believe In GOD6-Jun-07 6:22
I Believe In GOD6-Jun-07 6:22 
GeneralRe: Moving a control with the mouse Pin
sinosoidal7-Jun-07 21:59
sinosoidal7-Jun-07 21:59 
GeneralRe: Moving a control with the mouse Pin
I Believe In GOD8-Jun-07 7:03
I Believe In GOD8-Jun-07 7:03 
Questiontreeview and tooltip Pin
Saamir6-Jun-07 4:18
Saamir6-Jun-07 4:18 
AnswerRe: treeview and tooltip Pin
I Believe In GOD6-Jun-07 4:30
I Believe In GOD6-Jun-07 4:30 
QuestionRe: treeview and tooltip Pin
Saamir6-Jun-07 4:34
Saamir6-Jun-07 4:34 
AnswerRe: treeview and tooltip Pin
Giorgi Dalakishvili6-Jun-07 4:31
mentorGiorgi Dalakishvili6-Jun-07 4:31 
QuestionRe: treeview and tooltip Pin
Saamir6-Jun-07 4:44
Saamir6-Jun-07 4:44 
GeneralRe: treeview and tooltip Pin
Saamir6-Jun-07 4:54
Saamir6-Jun-07 4:54 
GeneralRe: treeview and tooltip Pin
Giorgi Dalakishvili6-Jun-07 5:09
mentorGiorgi Dalakishvili6-Jun-07 5:09 
QuestionConnection with Oracle9i Pin
sarwarmdgolam6-Jun-07 4:16
sarwarmdgolam6-Jun-07 4:16 
AnswerRe: Connection with Oracle9i Pin
Tarakeshwar Reddy6-Jun-07 5:17
professionalTarakeshwar Reddy6-Jun-07 5:17 
QuestionUsing enumerated types Pin
Dewald6-Jun-07 3:56
Dewald6-Jun-07 3:56 
AnswerRe: Using enumerated types Pin
DavidNohejl6-Jun-07 4:05
DavidNohejl6-Jun-07 4:05 
GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 4:57
Dewald6-Jun-07 4:57 
AnswerRe: Using enumerated types Pin
Guffa6-Jun-07 4:10
Guffa6-Jun-07 4:10 
Dewald wrote:
I don't want to change the return type of the functions from int to Defines.ERR


This is your problem. As long as you want to use an int value, the coding will be somewhat painful.

If you want to avoid writing (int) here and there, you can create constants instead of using an enum. That would work pretty much as using #define in C++.

---
single minded; short sighted; long gone;

GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 4:49
Dewald6-Jun-07 4:49 
GeneralRe: Using enumerated types Pin
Dave Kreskowiak6-Jun-07 5:06
mveDave Kreskowiak6-Jun-07 5:06 
GeneralRe: Using enumerated types Pin
Guffa6-Jun-07 9:05
Guffa6-Jun-07 9:05 
GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 20:50
Dewald6-Jun-07 20:50 
GeneralRe: Using enumerated types Pin
Guffa6-Jun-07 8:59
Guffa6-Jun-07 8:59 
GeneralRe: Using enumerated types Pin
DavidNohejl6-Jun-07 21:23
DavidNohejl6-Jun-07 21:23 
Questionsending SMS Pin
faldupuja6-Jun-07 3:42
faldupuja6-Jun-07 3:42 
AnswerRe: sending SMS Pin
Dave Herren6-Jun-07 6:36
Dave Herren6-Jun-07 6:36 

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.