I want to customize indent procedure...
That is what I know :
Code: Select all
//*****************************************
// Set Tabs stops every 4 space chars
SPACE_WIDTH=10 //px
SIZE_TAB = 4 * (SPACE_WIDTH * 15) //twip
PARAFORMAT pf ;
pf.cbSize = sizeof(PARAFORMAT);
pf.dwMask = PFM_TABSTOPS ;
pf.cTabCount = MAX_TAB_STOPS;
// Set tab stops every 4 space chars
for( int itab = 0 ; itab EM_SETPARAFORMAT
EM_GETPARAFORMAT
Tab ASCII code = 9
I don't know how to get space char width...
------------------------------------------------------
[b]To be or not to be Free !!!!!!!!! :->[/b]