Max Winapi 2 - Extension
#21
Posted 04 May 2012 - 08:29 PM
#22
Posted 04 May 2012 - 08:49 PM
hey, your concept was right The Control hide does make it work significantly faster. But you have to hide the control redraw the window then load in the list items. k sorted.
Like this?
API_Control_Show(hCtrl,0);
API_Window_Redraw(API_Control_GetHandle(hCtrl));
//fill here
API_Control_Show(hCtrl,1);
API_Window_Redraw(API_Control_GetHandle(hCtrl));
Weird, it should not matter to redraw except for when you are done, but there are things that do act up in GM. I think moving the control outside the visible region could also work.
#23
Posted 13 May 2013 - 06:55 PM
frnds help me
how to destroy
MAXAPI 2
BUTTON
#24
Posted 14 May 2013 - 04:00 AM
API_Window_Destroy(API_Control_GetHandle(hCtrl))
#25
Posted 14 May 2013 - 06:50 AM
frnds pleas help me in MAXAPI 2
HOW TO DESTROY BUTTON
?
#26
Posted 14 May 2013 - 07:22 AM
Then try this:
var temp_handle; temp_handle = API_Control_GetHandle(handle); // Replace handle with the handle you want to destroy API_Window_Destroy(temp_handle); // This will delete the handle for sure handle = 0; // Just clearing the handle variable.
![]()
THANK'S THANK'S 100000000% THANK'S
BRO YOU ARE GREAT AWESOME I LIKE YOU. IT WAS MY BIG PROBLEM BUT YOU SOLVE THIS MANY MANY THANK'S PLEASE ADD ME YOUR FRIEND.
![]()
![]()
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











