1. IDE standalone editor switching bug ATTN: Judith

I posted this a bit ago, but had Re: before the subject so I think 
Judith didn't read it.

Anyway, when I'm using the standalone editor from IDE, and I switch away 
from the editor then ALT+TAB back to it, I cannot type into the window. 
The cursor keeps flashing, but nothings happens when I press those keys. 
To continue normally, I have to click in the window with my mouse.

What's going on here?

I've tried looking at the code, but I'm not really seeing anything obvious.

~ Isaac

new topic     » topic index » view message » categorize

2. Re: IDE standalone editor switching bug ATTN: Judith

Judith Evans wrote:

>
>
>Sorry Isaac. I did see your post and investigated the problem but forgot to
>come back with the solution;
>  
>
No problem.

>Somewhere in editor.exw add this:
>
>procedure onGotFocus_MainWin(integer self, integer event, sequence params)
>    setFocus(Highlight)
>end procedure
>setHandler(MainWin,w32HGotFocus,routine_id("onGotFocus_MainWin"))
>
>  
That didn't seem to work, though it's about exactly what I thought had 
to be done. (I just don't know anything about winlib, honestly.) I have 
it after onEvent_MainWin, not that it really matters as long as it's 
after MainWin is declared, correct?

>~judith
>
>Isaac wrote:
>I posted this a bit ago, but had Re: before the subject so I think
>Judith didn't read it.
>
>Anyway, when I'm using the standalone editor from IDE, and I switch away
>from the editor then ALT+TAB back to it, I cannot type into the window.
>The cursor keeps flashing, but nothings happens when I press those keys.
>To continue normally, I have to click in the window with my mouse.
>
>What's going on here?
>
>I've tried looking at the code, but I'm not really seeing anything obvious.
>
>~ Isaac
>
>
>
>TOPICA - Start your own email discussion group. FREE!
>
>

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

3. Re: IDE standalone editor switching bug ATTN: Judith

I'm surprised that isn't working for you. What Window(tm) beast do your run?
I tested on Win98SE. I put the routine at the bottom of editor.exw before:

--start event loop
WinMain( MainWin, Normal )

but where you put it should be ok too.

Issac wrote:
>Judith Evans wrote:
>>Sorry Isaac. I did see your post and investigated the problem but forgot
to
>>come back with the solution;
>No problem.

>>Somewhere in editor.exw add this:

>>procedure onGotFocus_MainWin(integer self, integer event, sequence params)
>>    setFocus(Highlight)
>>end procedure
>>setHandler(MainWin,w32HGotFocus,routine_id("onGotFocus_MainWin"))
>That didn't seem to work, though it's about exactly what I thought had
>to be done. (I just don't know anything about winlib, honestly.) I have
>it after onEvent_MainWin, not that it really matters as long as it's
>after MainWin is declared, correct?

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

4. Re: IDE standalone editor switching bug ATTN: Judith

Um. Never mind. I turn my machine on this morning, and it seems to have 
fixed it fine. Perhaps I have more than one copy of it...and wasn't 
running the one I was editing. smile Oh well. Thank you.

~ Isaac

Judith Evans wrote:

>
>
>I'm surprised that isn't working for you. What Window(tm) beast do your run?
>I tested on Win98SE. I put the routine at the bottom of editor.exw before:
>
>--start event loop
>WinMain( MainWin, Normal )
>
>but where you put it should be ok too.
>
>Issac wrote:
>  
>
>>Judith Evans wrote:
>>    
>>
>>>Sorry Isaac. I did see your post and investigated the problem but forgot
>>>      
>>>
>to
>  
>
>>>come back with the solution;
>>>      
>>>
>>No problem.
>>    
>>
>>>Somewhere in editor.exw add this:
>>>      
>>>
>>>procedure onGotFocus_MainWin(integer self, integer event, sequence params)
>>>   setFocus(Highlight)
>>>end procedure
>>>setHandler(MainWin,w32HGotFocus,routine_id("onGotFocus_MainWin"))
>>>      
>>>
>>That didn't seem to work, though it's about exactly what I thought had
>>to be done. (I just don't know anything about winlib, honestly.) I have
>>it after onEvent_MainWin, not that it really matters as long as it's
>>after MainWin is declared, correct?
>>    
>>
>
>
>TOPICA - Start your own email discussion group. FREE!
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu