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

C / C++ / MFC

 
GeneralRe: SYSTEMTIME question Pin
Michael Dunn26-Jul-03 22:35
sitebuilderMichael Dunn26-Jul-03 22:35 
GeneralRe: SYSTEMTIME question Pin
YaronNir27-Jul-03 4:41
YaronNir27-Jul-03 4:41 
GeneralRe: SYSTEMTIME question Pin
YaronNir27-Jul-03 4:45
YaronNir27-Jul-03 4:45 
GeneralRe: SYSTEMTIME question Pin
Michael Dunn27-Jul-03 11:27
sitebuilderMichael Dunn27-Jul-03 11:27 
GeneralATL in vs.net Pin
novachen26-Jul-03 21:29
novachen26-Jul-03 21:29 
GeneralRe: ATL in vs.net Pin
Michael Dunn26-Jul-03 22:37
sitebuilderMichael Dunn26-Jul-03 22:37 
GeneralCalculate the required size of text to fit in column Pin
drabudawood26-Jul-03 20:39
drabudawood26-Jul-03 20:39 
GeneralRe: Calculate the required size of text to fit in column Pin
Michael Dunn26-Jul-03 22:42
sitebuilderMichael Dunn26-Jul-03 22:42 
Use LVM_GETSTRINGWIDTH to get the width in pixels of a string. The docs say:
If you use the returned string width as the column width in the LVM_SETCOLUMNWIDTH message, the string will be truncated. To retrieve the column width that can contain the string without truncating it, you must add padding to the returned string width.
so you have to fudge the return value by a few pixels (I guess the exact number depends on the font, bigger font means more padding).

--Mike--
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
aef392rDFA#@(#*@%@#$Rfa39f3fqwf--=
NO CARRIER
GeneralRe: Calculate the required size of text to fit in column Pin
drabudawood27-Jul-03 1:32
drabudawood27-Jul-03 1:32 
GeneralRe: Calculate the required size of text to fit in column Pin
drabudawood27-Jul-03 1:44
drabudawood27-Jul-03 1:44 
GeneralRe: Calculate the required size of text to fit in column Pin
Michael Dunn27-Jul-03 2:14
sitebuilderMichael Dunn27-Jul-03 2:14 
GeneralProblem with outp() in vc6.0 Pin
funwey26-Jul-03 19:44
funwey26-Jul-03 19:44 
GeneralRe: Problem with outp() in vc6.0 Pin
phlipping26-Jul-03 20:15
phlipping26-Jul-03 20:15 
GeneralRe: Problem with outp() in vc6.0 Pin
Erik Funkenbusch26-Jul-03 20:46
Erik Funkenbusch26-Jul-03 20:46 
GeneralExtended chars with SendInput Pin
phlipping26-Jul-03 19:01
phlipping26-Jul-03 19:01 
QuestionHow reliable is "cin" for receiving data? Pin
WREY26-Jul-03 17:56
WREY26-Jul-03 17:56 
AnswerRe: How reliable is "cin" for receiving data? Pin
Beer2626-Jul-03 18:12
Beer2626-Jul-03 18:12 
GeneralRe: How reliable is "cin" for receiving data? Pin
WREY26-Jul-03 18:48
WREY26-Jul-03 18:48 
GeneralRe: How reliable is "cin" for receiving data? Pin
Ryan Binns26-Jul-03 20:26
Ryan Binns26-Jul-03 20:26 
GeneralRe: How reliable is "cin" for receiving data? Pin
Beer2627-Jul-03 2:48
Beer2627-Jul-03 2:48 
GeneralRe: How reliable is "cin" for receiving data? Pin
Ryan Binns27-Jul-03 4:06
Ryan Binns27-Jul-03 4:06 
GeneralRe: How reliable is "cin" for receiving data? Pin
Beer2627-Jul-03 4:37
Beer2627-Jul-03 4:37 
GeneralRe: How reliable is "cin" for receiving data? Pin
Bob Stanneveld27-Jul-03 8:16
Bob Stanneveld27-Jul-03 8:16 
QuestionHow can I execute a .chm file? Pin
DanYELL26-Jul-03 15:25
DanYELL26-Jul-03 15:25 
AnswerRe: How can I execute a .chm file? Pin
Beer2626-Jul-03 15:50
Beer2626-Jul-03 15:50 

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.