Discards cached item information of a combo box control using a virtual data source.
C
void WINAPI SftBox_VirtualFlush(HWND hwndCtl);
C++
void CSftBox::VirtualFlush();
hwndCtl
The window handle of the combo box control.
The VirtualFlush function discards cached item information of a combo box control using a virtual data source.
A combo box using a virtual data source retrieves item information from the application as needed, using the callback routines defined with VirtualInitialize. The item most recently retrieved remains cached by the combo box. VirtualFlush releases this item, by calling the application's release callback routine. The item is retrieved again the next time it is needed.
VirtualFlush can be used before the application changes or discards data which the cached item may still reference. It does not repaint the combo box. Use VirtualItemChanged to notify the combo box that items of the virtual data source have changed.
This function can only be used with a combo box using a virtual data source.
See Also C/C++ API | Categories | Notifications