Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
vj5 vj5 is offline
external usenet poster
 
Posts: 22
Default update active window

Hi
i am using a commandbar control in my com adin.
i wants to make a commandbar button disable when user open any other
application /window and again comes in excel
window activate will work for Excel application only.
how to do that?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default update active window

HI Vj

I don't know whether there is any easy way out. What I did was to get the
handle to excel main window and track its lost focus and got focus events.


Thanks
Xcelion


"vj5" wrote:

Hi
i am using a commandbar control in my com adin.
i wants to make a commandbar button disable when user open any other
application /window and again comes in excel
window activate will work for Excel application only.
how to do that?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to open a workbook per active window Jackie[_2_] Excel Discussion (Misc queries) 1 August 19th 08 11:13 PM
missing Active Window bar Gomer Fackworth New Users to Excel 4 May 28th 08 02:13 PM
Active Window Question CWillis Excel Discussion (Misc queries) 4 July 19th 06 05:52 PM
active window Gerry Excel Programming 2 December 17th 04 03:33 PM
Problem with SendKeys + active window Roadie Excel Programming 4 April 26th 04 04:07 PM


All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"