⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 67435

📁 神经网络昆斯林的新闻组分类2006
💻
字号:
Xref: cantaloupe.srv.cs.cmu.edu comp.windows.x:67435 comp.windows.x.intrinsics:1184Path: cantaloupe.srv.cs.cmu.edu!magnesium.club.cc.cmu.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!howland.reston.ans.net!agate!msuinfo!uchinews!cs.umd.edu!mimsy!skelleyFrom: skelley@umiacs.umd.edu (Stephen Kelley)Newsgroups: comp.windows.x,comp.windows.x.intrinsicsSubject: X11R5 vs X11R4 Configure Event HandlingMessage-ID: <67048@mimsy.umd.edu>Date: 29 Apr 93 14:56:03 GMTSender: news@mimsy.umd.eduFollowup-To: comp.windows.xOrganization: UMIACS, University of Maryland, College Park, MD 20742Lines: 31REPOST:I have two questions (well probably more...) about how Expose & Configureevents are handled.I have an appl. which uses 1 window to draw in.  Since I give the user thecapability of scaling and zooming as well as allowing the window to beresized, I made a translation table for the Expose & Configure events.The Expose event calls my redraw method while the Configure eventcalls my rescale method.  The rescale method invokes a "fake" Exposeevent (actually just calls the redraw w/ an appropriate Expose struct)to draw the data.Quest 1.When the appl. is compiled/linked w/ R4 (running in either R4 or R5 env.)I get multiple (>4) redraws when the window gets uncovered or the sizeis changed.  I assume I'm getting cascading events.  Is that right?Any suggestions as to how to handle/trap events in a better way?Quest 2.When the appl. is compiled/linked w/ R5 I get no Expose eventswhatsoever.  Do events and/or translation tables act differently in R5?Thanks in advance-- ====================================================================================Steve Kelley	UMCP CS/UMIACS			Captain, I protest!		skelley@umiacs.umd.edu		I am *NOT* a merry man! - Worf

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -