Message 1 of 8
GetICustButton, GetICustEdit, not working

Not applicable
03-20-2018
10:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm almost up to speed on adding controls to a plugin's dialog box but when I call the Get functions in custctrl.h it never returns a valid pointer to a control. And I even checked to see if I was passing the right control handle to them. I call GetDlgItem beforehand and check to see that it doesn't return NULL. So I have the right handle. I'm going off the custctrl.cpp file to learn this, is there any extra initializing I need to do to the controls after they're dragged into the dialog box?