Xref: utzoo comp.windows.open-look:789 alt.toolkits.xview:150 comp.windows.x:33693 Path: utzoo!utgpu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!mcnc!borg!bodie!lusk From: lusk@bodie.cs.unc.edu (John Lusk) Newsgroups: comp.windows.open-look,alt.toolkits.xview,comp.windows.x Subject: detecting smaller XView cms than requested Message-ID: <2117@borg.cs.unc.edu> Date: 7 Mar 91 03:37:49 GMT Sender: news@cs.unc.edu Followup-To: comp.windows.open-look Lines: 17 I'd like to be able to detect when xv_create returns a smaller dynamic cms than the one I requested. Can anyone tell me how? I tried checking for XV_NULL, checking CMS_SIZE, CMS_COLOR_COUNT, CMS_FOREGROUND_PIXEL (the last three with xv_get), but no luck. XView merrily tells me it created the cms I requested when I can see that it didn't. (Either that, or it didn't succeed at all; but still, no error was returned.) Thanks. John. (lusk@cs.unc.edu) -- (lusk@cs.unc.edu)