Click here to Skip to main content
16,007,779 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionsaving data to sql database from excel sheet Pin
Choubey Prashant1-Jun-09 3:15
Choubey Prashant1-Jun-09 3:15 
AnswerRe: saving data to sql database from excel sheet Pin
Mycroft Holmes1-Jun-09 17:32
professionalMycroft Holmes1-Jun-09 17:32 
QuestionCursor control in Text Box Pin
sakthii1-Jun-09 0:15
sakthii1-Jun-09 0:15 
AnswerRe: Cursor control in Text Box Pin
Henry Minute1-Jun-09 2:06
Henry Minute1-Jun-09 2:06 
GeneralRe: Cursor control in Text Box Pin
sakthii1-Jun-09 16:05
sakthii1-Jun-09 16:05 
GeneralRe: Cursor control in Text Box Pin
Mycroft Holmes1-Jun-09 17:28
professionalMycroft Holmes1-Jun-09 17:28 
GeneralRe: Cursor control in Text Box [modified] Pin
sakthii2-Jun-09 2:22
sakthii2-Jun-09 2:22 
GeneralRe: Cursor control in Text Box Pin
Henry Minute2-Jun-09 2:57
Henry Minute2-Jun-09 2:57 
I have not used C++ since before the advent of Windows Forms, so I would not venture to attempt to offer you any code snippets.

However speaking in Windows Forms terms, each TextBox instance has its own Cursor property and it is this that needs to be set. If you need to change the cursor for all TextBoxes on a Form/Control you will need to iterate over the Controls property of the Form/Control and test if the control is a TextBox and then set the Cursor property to the desired cursor. Since TextBox inherits the Cursor property from Control there is no need to cast before doing so.

I hope that this helps, but if not perhaps someone with C++ skills will help you.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Cursor control in Text Box Pin
Baeltazor11-Jun-09 20:10
Baeltazor11-Jun-09 20:10 
AnswerRe: Cursor control in Text Box Pin
Uwe Keim3-Jun-09 20:52
sitebuilderUwe Keim3-Jun-09 20:52 
GeneralRe: Cursor control in Text Box Pin
Baeltazor11-Jun-09 20:12
Baeltazor11-Jun-09 20:12 
Question4-panel splitcontainer Pin
dybs29-May-09 18:34
dybs29-May-09 18:34 
AnswerRe: 4-panel splitcontainer Pin
Henry Minute30-May-09 0:30
Henry Minute30-May-09 0:30 
GeneralRe: 4-panel splitcontainer Pin
dybs30-May-09 4:17
dybs30-May-09 4:17 
GeneralRe: 4-panel splitcontainer Pin
dybs30-May-09 11:48
dybs30-May-09 11:48 
GeneralRe: 4-panel splitcontainer Pin
Henry Minute30-May-09 12:06
Henry Minute30-May-09 12:06 
GeneralRe: 4-panel splitcontainer Pin
dybs3-Jun-09 15:41
dybs3-Jun-09 15:41 
AnswerRe: 4-panel splitcontainer Pin
Eddy Vluggen30-May-09 2:04
professionalEddy Vluggen30-May-09 2:04 
GeneralRe: 4-panel splitcontainer Pin
dybs30-May-09 4:19
dybs30-May-09 4:19 
AnswerRe: 4-panel splitcontainer Pin
dan!sh 30-May-09 2:37
professional dan!sh 30-May-09 2:37 
QuestionFolderListBox and setting the base folder Pin
The Cake of Deceit29-May-09 7:39
The Cake of Deceit29-May-09 7:39 
NewsCertify Your Application with "Compatible with Windows 7" Logo Toolkit -- Launches Today Pin
brucedkyle29-May-09 6:20
brucedkyle29-May-09 6:20 
Questionhow get current record viewd in crystal report in vb.net Pin
Choubey Prashant28-May-09 17:57
Choubey Prashant28-May-09 17:57 
QuestionHowto create a virtual instance of a Modem Device ? Pin
matiboyin26-May-09 19:19
matiboyin26-May-09 19:19 
AnswerRe: Howto create a virtual instance of a Modem Device ? Pin
Dave Kreskowiak27-May-09 1:42
mveDave Kreskowiak27-May-09 1:42 

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.