realbasic-plugins
[Top] [All Lists]

Re: Bug - ghanssvp - REALGetControlPosition returns 0

To: realbasic-plugins at lists dot realsoftware dot com
Subject: Re: Bug - ghanssvp - REALGetControlPosition returns 0
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 14 Mar 2005 09:02:51 -0600
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <23B38AAA-9402-11D9-8CE9-000A277A7E3C at einhugur dot com>
At 8:54 PM +0000 3/13/05, Björn Eiríksson wrote:

Bug: ghanssvp

REALGetControlPosition returns 0 in the IDE (The entry point is failing and returning zero)

All most all entry points are going to fail within the IDE; remember, your plugin is no longer being loaded into the runtime framework while within the IDE, as it used to. The few entry points that do work are the ones we've provided adapters for.

You should write your controls to rely on the framework as little as possible within the IDE; just draw a simple representation of your control (most likely using REALGetControlBounds). When there's some other function you really need within the IDE, by all means request it as you have done here -- but please make sure it's something you really need, as we're trying to reduce the coupling between the IDE and the framework.

Thanks,
- Joe


--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>