473,395 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

problem with tabing in VC++ OCX

Hello All,

I have an ocx control written in visual c++. When I am using this ocx
control in Internet explorer, the tab key is not working with any of the UI
controls inside the ocx. The dialog inside the ocx has the tab order set
properly also.

Initially when the page is loaded, the focus comes to the first edit box in
ocx. On pressing the TAB key in keyboard, it goes directly to address bar in
IE and will never get the focus back on the ocx.

Anybody know why this behavior?, and any work around for this?.

Thanks in advance,
Sujith Manuel.
Apr 26 '06 #1
2 2571

"Sujith Manuel" <su***********@gmail.com> skrev i meddelandet
news:e2**********@daniel-new.mch.sbs.de...
Hello All,

I have an ocx control written in visual c++. When I am using this ocx
control in Internet explorer, the tab key is not working with any of the UI controls inside the ocx. The dialog inside the ocx has the tab order set
properly also.

Initially when the page is loaded, the focus comes to the first edit box in ocx. On pressing the TAB key in keyboard, it goes directly to address bar in IE and will never get the focus back on the ocx.

Anybody know why this behavior?, and any work around for this?.

Thanks in advance,
Sujith Manuel.


Hi, I am sure that asking this question in a newsgroup dedicated to the
subject matter will result in more fruitful answers. Please read the
newsgroup FAQ before contributing to the discussion in *any* group. For this
group, the FAQ may be found at: http://www.parashift.com/c++-faq-lite/
Regards,

Peter Jansson
http://www.p-jansson.com/
http://www.jansson.net/
Apr 26 '06 #2
Sujith Manuel wrote:
Hello All,

I have an ocx control written in visual c++. When I am using this ocx
control in Internet explorer, the tab key is not working with any of the UI
controls inside the ocx. The dialog inside the ocx has the tab order set
properly also.

Initially when the page is loaded, the focus comes to the first edit box in
ocx. On pressing the TAB key in keyboard, it goes directly to address bar in
IE and will never get the focus back on the ocx.

Anybody know why this behavior?, and any work around for this?.

Probably someone on a windows programming group does, try there.

--
Ian Collins.
Apr 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: N4M | last post by:
Dear, I have codes as follows: template<class T> class A { public: // embedded class class E; public: // types typedef E TE; public:// member functions TE somefunc();
3
by: debadeepti | last post by:
Hi All, I am porting an application from watcom to vc compiler. In watcom and other compiler (other then vc) memory allocation of __vfptr inside class object are different. In vc __vfptr is...
5
by: Hari | last post by:
Guys please help me to solve this strange problem what Iam getting as follows.. Trying to instantiate a global instance of a template class as follows :- when i build this code with debug and...
2
by: Edward Diener | last post by:
In C++ an overridden virtual function in a derived class must have the exact same signature of the function which is overridden in the base class, except for the return type which may return a...
5
by: christian | last post by:
Hi! I have a problem with a template function im MSVC6 the template function is defined as: template <__Type1, __Type2> int MyFunc(int param1, double param2) {__Type1 var1; __Type2 var2; ...
1
by: Arsalan Ahmad | last post by:
Hi all, I am trying to compile some source files using makefile. While compiling I am getting errors as shown below. Any idea how can I solve this problem. I believe I need to add some...
3
by: lewisksh | last post by:
hi, i have 1 MFC project which is written using VC++2003 but i need to migrate to VC++2005. The program (VC++2003) is working fine. but there is erros occur when running in VC++2005, and i just...
0
by: parekh | last post by:
Hi All , I am facing a problem wherein my VB project is not recognizing a change in the argument list of a method ( the method itself being declared and defined in another VC++ project and it...
0
by: anupamak | last post by:
hello, I created a win32 project(precompiled headers, console application). This was created to create a service( for which i used SERVICE_TABLE_ENTRY, SERVICE_STATUS, SERVICE_STATUS_HANDLE,...
8
by: Daniele Piccinini | last post by:
Hi all, In my vc++ 2005 dialog based application i need to use a comunication activex component in a secondary thread: CFINSAxEFS* pNewAx = new CFINSAxEFS(); if ( !pNewAx->Create( NULL,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.