Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool CreateVList::ElementAdd(vector<CreateVCheckBox *>::iterator it, void *Data){
- int newID = f_GetFreeID();
- if(!newID)
- return false;
- char charID[10];
- itoa(newID, charID, 10);
- if(it == Lista.end())
- Lista.push_back(NULL);
- else
- Lista.insert(it, NULL);
- it = GetIterator(Lista, NULL);
- if(it == Lista.end())
- return false;
- *it = new CreateVCheckBox(&*it, ElementDrawFunc, ElementAddDrawFunc, charID, ElementFont, 0, 0, 0, f_SetElementNewWidth(), f_SetElementNewHeight(), newID, hwnd_List, Data, hInstance );
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement