| |
|
|
- Page 1 - |
|
 Sato Pinto | Hello Xprofaner
have in my Program the trouble the to mehrmaligen Load image and Show after a couple minutes appear the Error How in the Image To see is
mloadbmp "oito.bmp" MCopySizedBmp 0,10-300,215 > 485,10-300,215;-1
has someone a idea what the his could?
greeting Sato XProfan11 Win XP Home |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
 Sato Pinto | Hello iF and Rolf
thanks very for Your Support have Rolfs changes as well as iF Startpaint2 Solution in my Program integrate, yet runs it correct. will be try in iFs subclassing Solution durchzublicken and thereafter try The Thread Do so abzulösen.
thanks you again
Grusse from portugal Sato |
|
|
| |
|
|
|
 | How already erwähnt benötigst You no StartPaint2 if you The subClassProc-Solution verwendest, but the see You too on the example in the pkg. |
|
|
| |
|
|
|
 Sato Pinto | Hello iF
clear, have understood, for the time being remaining startpaint2 drin To I with your subclassing Solution durchblicke
greeting Sato |
|
|
| |
|
|
|
 Jac de Lad | but versuchs! The Subclassing-Variant much better.  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 07/25/08 ▲ |
|
|
|
|
 Sato Pinto | Hello Jac
sure I will it make, must first a little bit over the Theme Subclassing in the Help nachlesen and Thanks iFs example I will it sure schafen the hereon umzusetzen.
greeting
Sato |
|
|
| |
|
|
|
 Jac de Lad | Jo. I Have there also yet plenty To learn. The 5 percent Subclassing The I already can are but very beeindruckend.  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 07/26/08 ▲ |
|
|
|
|
 Sato Pinto | Hello Jac
after I iFs code tested have see I already a little bit what subclassing allows, there need to the good Thread PCU really not. still fals the champion iF a little bit Time having ought to whom code so plenty How possible To to comment get many of us "Anfängern" wias of it learn, whom some ask have I already, z.b wieviele ~SetTimer(HMYWND&,5510,100,0) can I in the Program write, is the 5510 a spare wählbare number the whom Timer identify? the latest Parameter "0" what means it, whom in the Help is for SetTimer only a Parameter necessary. too The Messages z.b CASEOF 532,$0005 and CASEOF $0113, where can I these numbers look over?
greeting
Sato |
|
|
| |
|
|
|
 Jac de Lad | Hi Sato.
I rate you absolutely the MSDN from the M$-Page runterzuladen. if You only modem or ISDN have kannste still The Online-Variante benefit. there find You a detailed Description of "SetTimer" (and all others 44000 APIs).
The SetTimer function creates a timer with the specified time-out value.
Syntax
UINT_PTR SetTimer( HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc ); Parameters
hWnd [in] lever to the window to be associated with the timer. Diese window must be owned by the calling thread. If a NULL value for hWnd is passed in along with on nIDEvent of on existing timer, that timer wants be replaced in the same way that on existing non-NULL hWnd timer wants be. nIDEvent [in] Specifies a nonzero timer identifier. If the hWnd parameter is NULL, and the nIDEvent does hardship match on existing timer then it is ignored and a new timer ID is generated. If the hWnd parameter is hardship NULL and the window specified by hWnd already has a timer with the value nIDEvent, then the existing timer is replaced by the new timer. When SetTimer replaces a timer, the timer is reset. Therefore, a message wants be sent anus the current time-out value elapses, but the previously set time-out value is ignored. If the call is hardship intended to replace on existing timer, nIDEvent should be 0 if the hWnd is NULL. uElapse [in] Specifies the time-out value, in milliseconds. windows NT/2000/XP: If uElapse is greater than USER_TIMER_MAXIMUM, the timeout is set to 1.
Windows 2000/XP: If uElapse is less than USER_TIMER_MINIMUM, the timeout is set to USER_TIMER_MINIMUM.
windows Server 2003: If uElapse is greater than USER_TIMER_MAXIMUM, the timeout is set to USER_TIMER_MAXIMUM.
Windows XP SP2/windows Server 2003 SP1: If uElapse is less than USER_TIMER_MINIMUM, the timeout is set to USER_TIMER_MINIMUM. If uElapse is greater than USER_TIMER_MAXIMUM, the timeout is set to USER_TIMER_MAXIMUM.
lpTimerFunc [in] Pointer to the function to be notified when the time-out value elapses. For more information about the function, sea TimerProc. If lpTimerFunc is NULL, the system posts a WM_TIMER message to the application billiardcue. The hwnd member of the messages MSG structure contains the value of the hWnd parameter. Return Value
If the function succeeds and the hWnd parameter is NULL, the return value is on integer identifying the new timer. on application can pass this value to the KillTimer function to destroy the timer.
If the function succeeds and the hWnd parameter is hardship NULL, then the return value is a nonzero integer. on application can pass the value of the nIDEvent parameter to the KillTimer function to destroy the timer.
If the function fails to create a timer, the return value is zero. To get extended error information, call GetLastError.
I look time into View source, what You with Messages mean, I must admit, I whom not yet angeschaut have.
Jac  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 07/26/08 ▲ |
|
|
|
|
 Jac de Lad | alas Yes: The number the Timers is spare wählbar, where I from the "0" foresee would, there XProfan the for SetTimer/KillTimer uses. the maximum lying with 16383 (so far I the found out have). |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 07/26/08 ▲ |
|
|
|
|
 Sato Pinto | Hello Xprofaner
have now my Program on Subclassing rewritten and it functions, still unfortunately after it a Time runs , stopt the Program, it remaining but immernoch on the screen stand and it appear The windows Messagebox the the program one Error verurscht has.
knows not How I the Error discern can, can someone of you testing and possible discern what wrong on whom code is the Problems cause could?
Please The File expansion on zipper rename
here the new Version to that download
thanks for Your Support
Regards
Sato |
|
|
| |
|
|
|
 | by me crashes the program not ex, crashes this code with you too ex? [...] if so, code places a c:est.debug on - in this standing in the last row The row, which letztendlich whom crash causing. |
|
|
| |
|
|
|
 Sato Pinto | Hello iF
yet is not abgestürtzt, probably because the number supra right not changes what but his ought to. How can I so a Debug File in my code install? whom the code of link can I not understand.
thanks
greeting Sato |
|
|
| |
|
|