1. RE: Outlook bar - anyone got working version

Thanks Igor,
I found a win32lib version 0.45r and it works with that too. Now I just 
need to figure out how to get it working with current version.

Al Getz may like to look an this for his Launch Pad. Its better than 
horozontal tabs.

Thanks


Tony

Igor Kachan wrote:
> 
> 
> posted by: Igor Kachan <kinz at peterlink.ru>
> 
> Tony Steward wrote:
> 
> > 
> > Does anyone have a working version of David Cuny's outlookbar.ex?
> > Found in the archives here: 
> > <a 
> >
> > href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=outlook">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=outlook</a>
> > 
> > 
> > I am interested in getting this library working. It won't run on my 
> > WinXP machine.
> > 
> > I get error:
> > D:\outlookbar\outlook.ew:317 in procedure obDrawFrametool() 
> > c_proc/c_func: bad routine number (524405) 
> > 
> > Thanks 
> > 
> > Tony
>  
> Hi Tony,
> 
> It works OK with win32lib.ew "Bleeding Edge" 0.50c++
> (c) 2000 David Cuny, 24.08.2000.
> 
> Regards,
> Igor Kachan
> kinz at peterlink.ru



Give your hardest tasks to your lasiest workers. 
They will always find the easiest way to complete it.

new topic     » topic index » view message » categorize

2. RE: Outlook bar - anyone got working version

Tony Steward wrote:

> 
> Thanks Igor,
> I found a win32lib version 0.45r and it works with that too. Now I just 
> need to figure out how to get it working with current version.


I'm not very familiar with win32lib, but it seems to work
with 0.60.5 - 05.09.2004, if you change one word in one line
of outlook.ew:

procedure obDrawFrametool( integer id, integer uType, integer uState,
					integer x1, integer y1, integer x2, integer y2 )

	-- wrapper for drawFrametool                    
	integer result
	atom hWnd, hRect

	-- fill rectangle    
	hRect = allocate( SIZEOF_RECT )
	store( hRect, rectLeft,   x1 )
	store( hRect, rectTop,    y1 )
	store( hRect, rectRight,  x2 )
	store( hRect, rectBottom, y2 )
	
	-- get device context
	hWnd = getDC( id )
	
	-- call DrawFrametool to do the real word
	
result = w32Func(xDrawFrameControl,{ hWnd, hRect, uType, uState })-- this line
--- see w32Func
	
	-- release resources
	releaseDC( id )
	free( hRect )       

end procedure


This change seems to be the new strategy of win32lib development,
I'm not very sure however.

Good Luck!

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu