jpm Posted April 7, 2004 Author Posted April 7, 2004 @raider: yeah, thats a problem in the official 16th version. Thanks for info to this bug. Sorry, I didn't see that cause I used already my actually 'new'progress-function-guiĀ @jpm: I found the problem in the 'old' progress-function: maybe you forgot to integrate the changed 'new' version that I sent you: HWND CGuiBox::CreatePROGRESS(const char* Text,HWND hWnd,int id,int X,int Y,int W,int H,int Style,int Exstyle) { HWND A; if ( Style==-1 ) Style=0; A = _CreateControl(0,PROGRESS_CLASS,NULL,Style,X,Y,W,H,hWnd,NULL,NULL,NULL,false); SendMessage(A,(UINT)PBM_SETBKCOLOR,(WPARAM)0,(LPARAM) CLR_DEFAULT); SendMessage(A,(UINT)PBM_SETBARCOLOR,(WPARAM)0,(LPARAM) CLR_DEFAULT); SendMessage(A,(UINT)PBM_SETPOS,(WPARAM) 0,(LPARAM)0); SendMessage(A,PBM_SETRANGE,0,MAKELONG(0,100)); SendMessage(A,(UINT)PBM_SETSTEP,1,0); if (m_nCurSizeable == 0) GUICtrl[m_nMaxCtrl].nSizeable = GUI_SZ_ENABLE; return A; Regards Holger P.S:I've send you an email its better...Thanks, I find also the bug corrected in 102.17 to come I don't know who did it I will assume it was related to both birthday ....
jpm Posted April 7, 2004 Author Posted April 7, 2004 Ah, OK... I was afraid that I was messing things up to go around add a style equal to 0Sorry for the bug
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now