Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message from external app should: Open document and goto line # Pin
6-Nov-01 6:32
suss6-Nov-01 6:32 
GeneralRe: Message from external app should: Open document and goto line # Pin
Steve Schaneville6-Nov-01 6:56
professionalSteve Schaneville6-Nov-01 6:56 
GeneralRe: Message from external app should: Open document and goto line # Pin
Ben Burnett6-Nov-01 7:12
Ben Burnett6-Nov-01 7:12 
GeneralRepeat the song... (VFW.lib) Pin
Rickard Andersson206-Nov-01 4:31
Rickard Andersson206-Nov-01 4:31 
GeneralRe: Repeat the song... (VFW.lib) Pin
Rassman6-Nov-01 4:52
Rassman6-Nov-01 4:52 
GeneralRe: Repeat the song... (VFW.lib) Pin
Ben Burnett6-Nov-01 9:53
Ben Burnett6-Nov-01 9:53 
GeneralFlex Grid ! Pin
Hadi Rezaee6-Nov-01 4:21
Hadi Rezaee6-Nov-01 4:21 
GeneralRe: Flex Grid ! Pin
Rassman6-Nov-01 5:03
Rassman6-Nov-01 5:03 
Its a trick. Really flex grid (don't know about its newer versions but I suspect its the same) hasn't got edit boxes, its just a display.

Its a handy thing so there is a little trick worth knowing about.

Lets say you have a FormView with a flexgrid on it and an Invisible EditBox.

When your user changes the selection box in the grid get that boxes current size, and the size of each (visible) box (row and col) before it. Then place your EditBox in the right possition with the correct size , make it vissible and give it the focus. When your user presses <return> or tab copy that data to the box the user had selected and make your EditBox invisible again.

Now that you know this, there is no reason why you can't use other types of edit boxes, take into consideration the limitations of the grid, but a RichEdit box will give you nice easy colo(u)r options.





We do it for the joy of seeing the users struggle.
GeneralRe: Flex Grid ! Pin
Hadi Rezaee6-Nov-01 6:34
Hadi Rezaee6-Nov-01 6:34 
GeneralRe: Flex Grid ! Pin
Hadi Rezaee6-Nov-01 16:03
Hadi Rezaee6-Nov-01 16:03 
GeneralRe: Flex Grid ! Pin
Jon Hulatt6-Nov-01 22:22
Jon Hulatt6-Nov-01 22:22 
GeneralRe: Flex Grid ! Pin
Hadi Rezaee7-Nov-01 7:37
Hadi Rezaee7-Nov-01 7:37 
GeneralRe: Flex Grid ! Pin
Troy Marchand8-Nov-01 5:25
sitebuilderTroy Marchand8-Nov-01 5:25 
GeneralRead/Write Excel Worksheet Cells From VC Pin
Hamed6-Nov-01 4:03
Hamed6-Nov-01 4:03 
GeneralRe: Read/Write Excel Worksheet Cells From VC Pin
Carlos Antollini6-Nov-01 4:19
Carlos Antollini6-Nov-01 4:19 
GeneralHelp with coloring buttons Pin
ParaSwarm6-Nov-01 4:00
ParaSwarm6-Nov-01 4:00 
GeneralRe: Help with coloring buttons Pin
6-Nov-01 6:25
suss6-Nov-01 6:25 
GeneralRe: Help with coloring buttons Pin
Nish Nishant6-Nov-01 8:14
sitebuilderNish Nishant6-Nov-01 8:14 
Generalone Doc two views Pin
6-Nov-01 2:06
suss6-Nov-01 2:06 
GeneralRe: one Doc two views Pin
Rassman6-Nov-01 5:16
Rassman6-Nov-01 5:16 
GeneralSimple Query about Image..... Pin
Debu6-Nov-01 0:53
Debu6-Nov-01 0:53 
GeneralRe: Simple Query about Image..... Pin
Rassman6-Nov-01 5:22
Rassman6-Nov-01 5:22 
GeneralRe: Simple Query about Image..... Pin
Rassman7-Nov-01 0:45
Rassman7-Nov-01 0:45 
GeneralRich Edit Coloring Pin
Xavier Shay6-Nov-01 0:26
Xavier Shay6-Nov-01 0:26 
GeneralRe: Rich Edit Coloring Pin
6-Nov-01 6:58
suss6-Nov-01 6:58 

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.