Changeset 21 for trunk/include
- Timestamp:
- Jan 8, 2001, 6:54:48 PM (25 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/cnrh.h
r17 r21 39 39 #endif 40 40 41 /* 42 *@@category: Helpers\PM helpers\Container helpers\Details view helpers 43 */ 44 41 45 /* ****************************************************************** 42 46 * … … 107 111 ULONG ulFieldReturn); 108 112 113 /* 114 *@@category: Helpers\PM helpers\Container helpers\Record core helpers 115 */ 116 109 117 /* ****************************************************************** 110 118 * … … 174 182 WinSendMsg(hwndCnr, CM_INVALIDATERECORD, NULL, MPFROM2SHORT(0, CMA_ERASE | CMA_REPOSITION | CMA_TEXTCHANGED)) 175 183 184 /* 185 *@@category: Helpers\PM helpers\Container helpers\View management 186 */ 187 176 188 /* ****************************************************************** 177 189 * … … 186 198 * be a PCNRINFO. 187 199 * Example: 200 * 188 201 + CNRINFO CnrInfo; 189 202 + cnrhQueryCnrInfo(&CnrInfo); … … 199 212 /* 200 213 *@@ BEGIN_CNRINFO: 201 * this func starts a "container info" block for the 202 * following functions. 214 * this macro starts a "container info" block. In such 215 * a block, you may use the following macros: 216 * 217 * -- cnrhSetTitle 218 * 219 * -- cnrhSetSplitBarAfter 220 * 221 * -- cnrhSetSplitBarPos 222 * 223 * -- cnrhSetTreeBmpOrIconSize 224 * 225 * -- cnrhSetBmpOrIconSize 226 * 227 * -- cnrhSetView (most frequently) 228 * 229 * -- cnrhSetTreeIndent 230 * 231 * -- cnrhSetSortFunc 232 * 233 * Typical usage is like this: 234 * 235 + BEGIN_CNRINFO() 236 + { 237 + cnrhSetTreeIndent(20); 238 + cnrhSetView(CV_TREE | CV_ICON | CA_TREELINE); 239 + } END_CNRINFO(hwndCnr); 240 * 203 241 * This must always be followed by END_CNRINFO(), 204 242 * or you'll get funny compilation errors. … … 215 253 /* 216 254 *@@ END_CNRINFO: 217 * this ends a "container info" block started by218 * BEGIN_CNRINFO.255 * this macro ends a "container info" block. 256 * See BEGIN_CNRINFO. 219 257 * 220 258 *@@added V0.9.0 … … 228 266 /* 229 267 *@@ cnrhSetTitle: 230 * this sets the container title to the specified268 * this macro sets the container title to the specified 231 269 * text. You must specify CA_CONTAINERTITLE with 232 270 * cnrhSetView then. 271 * 272 * This can only be used after BEGIN_CNRINFO(). 233 273 * 234 274 *@@added V0.9.1 (99-12-18) [umoeller] … … 278 318 * tree views. 279 319 * The default is the system icon size (32 or 40). 320 * 321 * This can only be used after BEGIN_CNRINFO(). 280 322 */ 281 323 … … 304 346 /* 305 347 *@@ cnrhSetView: 306 * this sets the container view attributes (CNRINFO.flWindowAttr). 307 * 308 * This can only be used after BEGIN_CNRINFO(). 348 * this macro sets the container view attributes (CNRINFO.flWindowAttr). 349 * 350 * This can only be used after BEGIN_CNRINFO(), like this: 351 * 352 + BEGIN_CNRINFO() 353 + { 354 + cnrhSetView(CV_TEXT | CV_FLOW); 355 + } END_CNRINFO(hwndCnr); 309 356 * 310 357 * The following combinations are useful for flWindowAttr. … … 382 429 /* 383 430 *@@ cnrhSetTreeIndent: 384 * this sets the horizontal spacing between levels431 * this macro sets the horizontal spacing between levels 385 432 * in Tree views. 433 * 434 * This can only be used after BEGIN_CNRINFO(). 386 435 * 387 436 *@@added V0.9.0 … … 394 443 /* 395 444 *@@ cnrhSetSortFunc: 396 * this sets the sort function for a container. 445 * this macro sets the sort function for a container. 446 * 397 447 * This can only be used after BEGIN_CNRINFO(). 398 448 * … … 473 523 PRECORDCORE preccCurrent); 474 524 525 /* 526 *@@category: Helpers\PM helpers\Container helpers\Record relations/iteration 527 */ 528 475 529 /* ****************************************************************** 476 530 * -
trunk/include/helpers/comctl.h
r20 r21 440 440 // TOOLINFO.uFlags flags (ORed) 441 441 // #define TTF_IDISHWND 0x0001 442 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 bullshit442 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 crap 443 443 #define TTF_CENTERBELOW 0x0002 444 444 #define TTF_CENTERABOVE 0x0004 445 445 // #define TTF_RTLREADING 0x0004 446 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 bullshit446 // V0.9.7 (2001-01-03) [umoeller]: removed this win95 crap 447 447 #define TTF_SUBCLASS 0x0008 448 448 // non-Win95 flags … … 460 460 * and many other TTM_* messages. 461 461 * 462 *@@changed V0.9.7 (2001-01-03) [umoeller]: removed all that win95 bullshit462 *@@changed V0.9.7 (2001-01-03) [umoeller]: removed all that win95 crap 463 463 */ 464 464 … … 526 526 * This structure is used with the TTN_NEEDTEXT notification. 527 527 * 528 *@@changed V0.9.7 (2001-01-03) [umoeller]: got rid of this win95 bullshit528 *@@changed V0.9.7 (2001-01-03) [umoeller]: got rid of this win95 crap 529 529 */ 530 530 -
trunk/include/helpers/stringh.h
r14 r21 125 125 const char *pcszEndChars); 126 126 127 PSZ strhFindEOL( PSZ pszSearchIn, ULONG *pulOffset);127 PSZ strhFindEOL(const char *pcszSearchIn, ULONG *pulOffset); 128 128 129 129 PSZ strhFindNextLine(PSZ pszSearchIn, PULONG pulOffset); -
trunk/include/helpers/textv_html.h
r14 r21 66 66 PSZ pszTitle; // contents of TITLE tag (must be freed) 67 67 LINKLIST llLinks; // list of XHTMLLINK structures; empty if none 68 // (auto-free mode; use lstClear) 68 69 } XHTMLDATA, *PXHTMLDATA; 69 70 #endif -
trunk/include/helpers/xstring.h
r18 r21 65 65 typedef void XWPENTRY XSTRCLEAR(PXSTRING pxstr); 66 66 typedef XSTRCLEAR *PXSTRCLEAR; 67 68 ULONG XWPENTRY xstrReserve(PXSTRING pxstr, ULONG ulBytes); 69 typedef ULONG XWPENTRY XSTRRESERVE(PXSTRING pxstr, ULONG ulBytes); 70 typedef XSTRRESERVE *PXSTRRESERVE; 67 71 68 72 PXSTRING XWPENTRY xstrCreate(ULONG ulPreAllocate);
Note:
See TracChangeset
for help on using the changeset viewer.