RE: EuGrid Version 1.0.1

new topic     » topic index » view thread      » older message » newer message

Phil Russell wrote:
> Hi All,
> 
> I have just sent an upgraded version of my EuGrid grid control to Rob.  
> This is just an interim release which fixes a couple of problems that 
> people have reported:

Keep up the good work Phil!

I have noticed that sometimes when running a program with a EuGrid, some 
other fonts in my system sometimes get messed up (they get bigger & 
bolder).  This generally happens to fonts in the menu bar and in the 
address bar (where the filename is) in the desktop explorer.  Problem 
goes away by simply reopening the affected window.  I have seen this 
maybe once or twice before using win32lib programs without EuGrid, but 
with EuGrid it seems to happen quite frequently -- generally when I'm 
actually programming and running the program over & over to test things 
out.

Anybody seen this?


Also, I had a problem the other day with it crashing in the EGW_OnSize 
function.  It was being called from EGW_OnGridEvent when the 
"GridDraw[grid]" sequence had a length of 0.

I added an if statement to check the length in the OnGridEvent function:

if msg = WM_SIZE then
-- ignore minimize and maximize for child window
	if wParam = SIZE_RESTORED then
	-- Create new offscreen bitmap
        
        -- Added IF statement:
	if length(GridDraw[grid])> 0 then
		EGW_OnSize( id, grid, lo_word(lParam), hi_word(lParam))
       end if
end if


That seemed to take care of it, but I'm not sure that is the most 
appropriate solution.  ???

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu