Article View: news.software.readers
Article #148541So much for portability, eh !
From: Jeff Relf
Date: Wed, 19 May 2004 13:53
Date: Wed, 19 May 2004 13:53
39 lines
3472 bytes
3472 bytes
Hi Seeking Twine, Re: VRAM to VRAM blts using SDL under an X-Server. You quoted OSDL.SourceForge.NET, " you will need to draw the cursor yourself ". Hmmm, That's very interesting. But campus computers all have WinXP and Direct Draw, not X-Windows and SDL. And I already know how Windows and Direct Draw work. Besides, even if mono allowed that, it's not portable. Re: How the Win98 taskbar controlled it's mouse cursor in such a way that I had a very hard time stopping it from writing junk on my window. The solution to my problem, in part, was found using Google: SystemParametersInfo( SPI_SETCURSORS, 0,0, 0 ); The taskbar wouldn't let me turn off the cursor, and it wouldn't notify me of it's events, so I had to do a constant no-wait check of the cursor's position, and when it hits the taskbar I had to change the cursor to something benign and move it to the far bottom right of the screen. ( Where it couldn't be seen, or pick up junk ) Then I had to paint my screen with no cursor, restore it's shape using SystemParametersInfo() and move the taskbar's cursor back to where it was. It's a bit convoluted, but it works quite well. The problem was very Win98 specific, so it's not surprising that the solution was too. So much for portability, eh !
Technical Details
Message-ID:
<1tk0ytnbjtde8$.dlg@x.Jeff.Relf>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<802a22e30a2a346f0ab6bf7520fd2530@news.bubbanews.com> <409e57aa.2284374@news-server.houston.rr.com> <41s1a0h15n564v8sg9318cp8sbrmlq69ua@4ax.com> <2gca3sF16pepU1@uni-berlin.de> <dfbdc50292e91a464fbdcd136c77769e@news.teranews.com> <40a104b3.69215586@news-server.houston.rr.com> <c7uobt170v@news1.newsguy.com> <40a3d0e6.27012541@news-server.houston.rr.com> <c81i0j0ejl@news4.newsguy.com> <40a48ede.75643749@news-server.houston.rr.com> <d772ef0d5fc38dc146ee38f3fa88efba@news.teranews.com> <40a4c3f9.3459895@news-server.houston.rr.com> <MPG.1b0f61005dd245d39898da@news-50.giganews.com> <40a6191c.1156282@news-server.houston.rr.com> <40a657ed$0$172$892e0abb@auth.newsreader.octanews.com> <1ugxez4dizvb1$.dlg@x.Jeff.Relf> <Xns94EBF2B04BAD0ZeroOne@raven.dragonfur.ca> <t1ylyejpbv80.dlg@x.Jeff.Relf> <Xns94ED8A1A05FDBZeroOne@raven.dragonfur.ca> <1g83w9b85na3z.dlg@x.Jeff.Relf> <8f9ccf04c003cd004562348b74a41b87@news.teranews.com>Show Full Headers
Complete Article Headers
Message-ID: <1tk0ytnbjtde8$.dlg@x.Jeff.Relf>
Subject: So much for portability, eh !
Date: Wed, 19 May 2004 06:53:54 -0700
From: Jeff Relf <Me@Privacy.NET>
References: <802a22e30a2a346f0ab6bf7520fd2530@news.bubbanews.com> <409e57aa.2284374@news-server.houston.rr.com> <41s1a0h15n564v8sg9318cp8sbrmlq69ua@4ax.com> <2gca3sF16pepU1@uni-berlin.de> <dfbdc50292e91a464fbdcd136c77769e@news.teranews.com> <40a104b3.69215586@news-server.houston.rr.com> <c7uobt170v@news1.newsguy.com> <40a3d0e6.27012541@news-server.houston.rr.com> <c81i0j0ejl@news4.newsguy.com> <40a48ede.75643749@news-server.houston.rr.com> <d772ef0d5fc38dc146ee38f3fa88efba@news.teranews.com> <40a4c3f9.3459895@news-server.houston.rr.com> <MPG.1b0f61005dd245d39898da@news-50.giganews.com> <40a6191c.1156282@news-server.houston.rr.com> <40a657ed$0$172$892e0abb@auth.newsreader.octanews.com> <1ugxez4dizvb1$.dlg@x.Jeff.Relf> <Xns94EBF2B04BAD0ZeroOne@raven.dragonfur.ca> <t1ylyejpbv80.dlg@x.Jeff.Relf> <Xns94ED8A1A05FDBZeroOne@raven.dragonfur.ca> <1g83w9b85na3z.dlg@x.Jeff.Relf> <8f9ccf04c003cd004562348b74a41b87@news.teranews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers,comp.os.linux.advocacy
Lines: 39
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 7WWdREjZgRAmGgSXDb/WNQfQbwiUuehfWCJAQozoDw+CcLOG6/
User-Agent: 40tude_Dialog/2.0.12.1 (cf9a8036.99.9)
X-Face: V|9[5IY]/OB15+<DlkA6*rsaeJb?9HnEE@[CAy1koT:N4Ew'*#35g{6z1>}/e:m!6.qw'Kzn@$#""CJQl/Uv"R,&G?sNO"{#LEEnS3lQRnT#Ql#'3ySQ80}u7Q<`+B@;
Y; 81AnK'_PD^fm.3T/<-i~YdZ%Q}b?:-]{Lr#s6.N,r(}
X-Newsreader: Win98 C++