wzx304 发表于 2006-4-20 21:43:21

[求助]关于TAB控件(续)

我做的设计界面如下:他是在TAB控件中,通过参数设置界面进行参数设置,在贴印界面显示,但弄了半个月了,还是通不过。参数设置的属性为:TABPANEL1,里面的控件为CZLZL;贴印的是属性为:TABPANEL2,显示控件为ZLZL。
函数为:
   GetCtrlVal (TABPANEL1_CZLZL,TABPANEL1_CZLZL, &value);//错误发生处
   SetCtrlVal (TABPANEL3_ZLZL, TABPANEL3_ZLZL, value);
   
错误显示为: NON-FATAL RUN-TIME ERROR:   "新构思.c", line 76, col 13, thread id 0x00000974:   Library function error (return value == -4 ). Panel, pop-up, or menu bar handle is invalid


<img src="attachments/dvbbs/2006-4/200642013401949860.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-4/200642013401949860.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<img src="attachments/dvbbs/2006-4/200642013405340654.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-4/200642013405340654.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

cpubbs 发表于 2006-5-1 18:30:25

http://www.cpubbs.com/bbs/viewthread.php?tid=12969&highlight=%C7%F3%D6%FA%5D%BC%F2%B5%A5%B3%CC%D0%F2%C7%F3%D6%FA

[ 本帖最后由 cpubbs 于 2008-5-9 23:25 编辑 ]
页: [1]
查看完整版本: [求助]关于TAB控件(续)