Open this toobar use pb 12.5 and 9.0, all running normal
http://download.csdn.net/detail/hushuiqiu/4121904 PB11.5 source new DWTOOLBAR, enhanced version
12.6 open, but with the toolbar to run after, is the first display blank,
The mouse moves to the toolbar, will show the button, and the font is not normal, is close to the song typeface, no matter what font Settings, can show the correct font
Drag the window has the ghosting phenomenon
After debug step by step, found under 12.5 and 9.0 pb, pbm_erasebkgnd HDC in open, such as drag can return the correct value HDC
In pb12.6 haven't displayed in the window, pbm_erasebkgnd can return the correct value, but after the show, it returns 0, drag is also returns 0
This is what reason, the great god, I downloaded a lot of the toolbar, this problem is
And 12.6 the enlisted into single exe files, without PBD, cannot use the datastore
Bring the PBD, can use the datastore
The great god help me, this is what problem,,,,
CodePudding user response:
So complicated engineering, is a simple, test,CodePudding user response:
PB12.6 new revised DWTOOLBARhttp://download.csdn.net/detail/qweasd2002/9845884
CodePudding user response:
1922649692 @qq.com if you have any questionsCodePudding user response:
Change a, I also encountered this problem, is very normal that version are not compatibleCodePudding user response:
PB in 11.5 and 12.6 no problem again I also encountered THIS problem, research day, finally control 12.6 kinds of GUI Code, put pbm_erasebkgnd HDC (11.5 is long, 12.6 has been replaced by longptr) into GetDC (Handle (THIS)) issue is resolved,The Function ulong GetDC (ulong hWnd) Library "user32. DLL"
CodePudding user response:
I met this kind of problem, is also possibly phenomenon is the program runs fine will collapse at any time, can only be changed, all don't have to design the UI, directly from the menu button to deal with,CodePudding user response: