Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #import for COM Dll Pin
Roger Stoltz5-Jul-04 22:13
Roger Stoltz5-Jul-04 22:13 
GeneralRe: #import for COM Dll Pin
Vaibhav...5-Jul-04 22:28
sussVaibhav...5-Jul-04 22:28 
GeneralRe: #import for COM Dll Pin
Roger Stoltz6-Jul-04 0:27
Roger Stoltz6-Jul-04 0:27 
GeneralRe: #import for COM Dll Pin
Vaibhav Sanghavi11-Jul-04 23:39
Vaibhav Sanghavi11-Jul-04 23:39 
GeneralRe: #import for COM Dll Pin
Roger Stoltz12-Jul-04 14:52
Roger Stoltz12-Jul-04 14:52 
GeneralRe: #import for COM Dll Pin
Vaibhav Sanghavi12-Jul-04 18:55
Vaibhav Sanghavi12-Jul-04 18:55 
GeneralRe: #import for COM Dll Pin
Michael P Butler6-Jul-04 1:17
Michael P Butler6-Jul-04 1:17 
GeneralMSHFlexgrid ~ custom Autoresize Pin
V.5-Jul-04 21:27
professionalV.5-Jul-04 21:27 
Hi,

I'm using MSHFlexgrid and I need to use a "custom" autoresize.
* if the text is to long to fit in the cell cut off the text and put "partoftext..." in the cell. if the user clicks on the cell he will, off course, see the whole cell.

My first idea was to get the width of the cell (OK) and the width of the text (GetCellFontWidth() ?) and then work from there (I do keep in mind that one is in twips and the other in points)

problem is that m_flexArray.GetCellFontWidth(); always returns 0.00000

m_flexArray.GetCellFontSize(); does returns a value, but in cases of Times New Roman and stuff it doesn't do me any good does it?

can anybody give me any clues on how to solve this?

(yes, it's not really an autoresize Wink | ;) )

tnx for your help!!

"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
Generalinheritance Pin
xcavin5-Jul-04 21:11
xcavin5-Jul-04 21:11 
GeneralRe: inheritance Pin
bneacetp5-Jul-04 21:45
bneacetp5-Jul-04 21:45 
GeneralRe: inheritance Pin
Vaibhav Sanghavi5-Jul-04 21:54
Vaibhav Sanghavi5-Jul-04 21:54 
Generalregistry handling in my software Pin
ask_you5-Jul-04 18:22
ask_you5-Jul-04 18:22 
GeneralRe: registry handling in my software Pin
Jose Cezar S. Ynion5-Jul-04 19:09
Jose Cezar S. Ynion5-Jul-04 19:09 
GeneralRe: registry handling in my software Pin
ask_you5-Jul-04 19:27
ask_you5-Jul-04 19:27 
GeneralReading Cookies Pin
Liger_Zero_X5-Jul-04 16:26
Liger_Zero_X5-Jul-04 16:26 
GeneralRe: Reading Cookies Pin
Jose Cezar S. Ynion5-Jul-04 17:18
Jose Cezar S. Ynion5-Jul-04 17:18 
GeneralRe: Reading Cookies Pin
Michael Dunn5-Jul-04 17:28
sitebuilderMichael Dunn5-Jul-04 17:28 
GeneralRe: Reading Cookies Pin
Liger_Zero_X5-Jul-04 19:55
Liger_Zero_X5-Jul-04 19:55 
GeneralRe: Reading Cookies Pin
Michael Dunn5-Jul-04 20:06
sitebuilderMichael Dunn5-Jul-04 20:06 
GeneralHelp with inheritance Pin
Sirrius5-Jul-04 16:16
Sirrius5-Jul-04 16:16 
GeneralRe: Help with inheritance Pin
Jose Cezar S. Ynion5-Jul-04 17:11
Jose Cezar S. Ynion5-Jul-04 17:11 
GeneralHelp with inheritance Pin
Sirrius5-Jul-04 16:16
Sirrius5-Jul-04 16:16 
GeneralRe: Help with inheritance Pin
Christian Graus5-Jul-04 17:04
protectorChristian Graus5-Jul-04 17:04 
GeneralRe: Help with inheritance Pin
Sirrius5-Jul-04 17:55
Sirrius5-Jul-04 17:55 
GeneralRe: Help with inheritance Pin
Ryan Binns5-Jul-04 18:05
Ryan Binns5-Jul-04 18:05 

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.