please dont rip this site Prev Next

DELETEITEMSTRUCT info  Overview  Group

The DELETEITEMSTRUCT structure describes a deleted list box or combo box item. The lParam parameter of a WM_DELETEITEM message contains a pointer to this structure. When an item is removed from a list box or combo box or when a list box or combo box is destroyed, Windows sends the WM_DELETEITEM message to the owner for each deleted item.

Windows NT: Windows sends a WM_DELETEITEM message only for items deleted from an owner-drawn list box (with the LBS_OWNERDRAWFIXED or LBS_OWNERDRAWVARIABLE style) or owner-drawn combo box (with the CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE style).

Windows 95: Windows sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

typedef struct tagDELETEITEMSTRUCT { // ditms 

    UINT CtlType; 

    UINT CtlID; 

    UINT itemID; 

    HWND hwndItem; 

    UINT itemData; 

} DELETEITEMSTRUCT; 

 

Members

CtlType
Specifies one of the following values to indicate whether the item was deleted from a list box or a combo box:

Value

Meaning

ODT_LISTBOX

A list box.

ODT_COMBOBOX

A combo box.

CtlID
Specifies the identifier of the list box or combo box.
itemID
Specifies index of the item in the list box or combo box being removed.
hwndItem
Identifies the control.
itemData
Specifies application-defined data for the item. This value is passed to the control in the lParam parameter of the message that adds the item to the list box or combo box.

See Also

WM_DELETEITEM 


file: /Techref/os/win/api/win32/struc/src/str03_12.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/8 03:36,
TOP NEW HELP FIND: 
3.233.242.216:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/struc/src/str03_12.htm"> DELETEITEMSTRUCT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .