Changeset 21 for trunk/include/helpers/cnrh.h
- Timestamp:
- Jan 8, 2001, 6:54:48 PM (25 years ago)
- File:
-
- 1 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 *
Note:
See TracChangeset
for help on using the changeset viewer.