A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2003 - Subclassing Appointment Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 1st 07, 01:32 AM posted to microsoft.public.outlook.program_addins
newToOutlookProgramming
external usenet poster
 
Posts: 9
Default Outlook 2003 - Subclassing Appointment Form

This question is for Outlook 2003 specifically.

I have a requirement to extend native Appointment form and add couple of
fields on it. It is not possible using design custom form.

Choices I have for above requirement is :
(1) Design tab P-2 using custom form, hide original appoinment tab and ship
this custom oft plus bunch of activex controls to achieve to near-same
usability as native form
(2) Add 2 fields in native outlook form by subclassing it

Second option seems better because it is better usability-wise,
maintenance-wise, deployment-wise, keeping-users-customizations etc.


Question:
-----------
Did you come across details of implementing subclassing.

Basic logic involves Getting hwnd from an appointment inspector and
Replacing the window procedure with your own code ( SetWindowLong ).

I am looking for details/codesnippet of implementing this subclassing.

Appreciate all pointers / code snippets / links.

  #2  
Old May 1st 07, 03:23 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 - Subclassing Appointment Form

I wouldn't do that. It's a great way to one-off your form.

I'd either add a control to open a separate form to show the 2 needed fields
to the menus of the Outlook item or I'd proxy the original Outlook form by
handling NewInspector and not displaying the Outlook form and displaying an
alternate form that has all the UI you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
This question is for Outlook 2003 specifically.

I have a requirement to extend native Appointment form and add couple of
fields on it. It is not possible using design custom form.

Choices I have for above requirement is :
(1) Design tab P-2 using custom form, hide original appoinment tab and
ship
this custom oft plus bunch of activex controls to achieve to near-same
usability as native form
(2) Add 2 fields in native outlook form by subclassing it

Second option seems better because it is better usability-wise,
maintenance-wise, deployment-wise, keeping-users-customizations etc.


Question:
-----------
Did you come across details of implementing subclassing.

Basic logic involves Getting hwnd from an appointment inspector and
Replacing the window procedure with your own code ( SetWindowLong ).

I am looking for details/codesnippet of implementing this subclassing.

Appreciate all pointers / code snippets / links.


  #3  
Old May 1st 07, 07:36 PM posted to microsoft.public.outlook.program_addins
newToOutlookProgramming
external usenet poster
 
Posts: 9
Default Outlook 2003 - Subclassing Appointment Form

Hi,

I did consider adding a control to open a separate form , but it has
usability issue.
I also prototyped displaying an alternate form, but it also involves
rebuilding a lot of functionality which comes free in native outlook form
like all the menus (File ....etc), Scheduling Tab etc.
Also considered hiding just appointment tab, and building tab P-2 & renaming
it. this requires lot of activex controls for date-time, reminder, sound,
label etc etc fields because these are not in custom form toolbox.

So, Prototyping using Subclassing mechanism is atleast worth trying. Why
would a form be one-offed by this?

My requirement is to add few fields on appoitnment from from local database,
and NOT loose any native functionality at the same time.

Hence, looking for details/codesnippet of implementing subclassing
appointment form.

thanks

"Ken Slovak - [MVP - Outlook]" wrote:

I wouldn't do that. It's a great way to one-off your form.

I'd either add a control to open a separate form to show the 2 needed fields
to the menus of the Outlook item or I'd proxy the original Outlook form by
handling NewInspector and not displaying the Outlook form and displaying an
alternate form that has all the UI you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
This question is for Outlook 2003 specifically.

I have a requirement to extend native Appointment form and add couple of
fields on it. It is not possible using design custom form.

Choices I have for above requirement is :
(1) Design tab P-2 using custom form, hide original appoinment tab and
ship
this custom oft plus bunch of activex controls to achieve to near-same
usability as native form
(2) Add 2 fields in native outlook form by subclassing it

Second option seems better because it is better usability-wise,
maintenance-wise, deployment-wise, keeping-users-customizations etc.


Question:
-----------
Did you come across details of implementing subclassing.

Basic logic involves Getting hwnd from an appointment inspector and
Replacing the window procedure with your own code ( SetWindowLong ).

I am looking for details/codesnippet of implementing this subclassing.

Appreciate all pointers / code snippets / links.



  #4  
Old May 1st 07, 09:22 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 - Subclassing Appointment Form

It would one-off the form because you'd be adding controls to it on the fly.
That's guaranteed to do that. If you insist on this method I can't help you
any further because it's so wrong.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
Hi,

I did consider adding a control to open a separate form , but it has
usability issue.
I also prototyped displaying an alternate form, but it also involves
rebuilding a lot of functionality which comes free in native outlook form
like all the menus (File ....etc), Scheduling Tab etc.
Also considered hiding just appointment tab, and building tab P-2 &
renaming
it. this requires lot of activex controls for date-time, reminder, sound,
label etc etc fields because these are not in custom form toolbox.

So, Prototyping using Subclassing mechanism is atleast worth trying. Why
would a form be one-offed by this?

My requirement is to add few fields on appoitnment from from local
database,
and NOT loose any native functionality at the same time.

Hence, looking for details/codesnippet of implementing subclassing
appointment form.

thanks


  #5  
Old May 18th 07, 04:25 AM posted to microsoft.public.outlook.program_addins
newToOutlookProgramming
external usenet poster
 
Posts: 9
Default Outlook 2003 - Subclassing Appointment Form

----This question is for outlook 2003------

Hi,

(1) Can you help me jot down some cons (actually I need several) for this
approach (subclassing) .

I did prototype the way you suggested (proxy the original Outlook form by
handling NewInspector and not displaying the Outlook form and displaying an
alternate form), but it looses a lot of default functionality of the
appointment, re-building all of which is a lot of effort.

(2) Alternatively, Is it possible to add a 2 editable textboxes in the
custom-bar in the apppointment inspector via a addin ?

thanks again


"Ken Slovak - [MVP - Outlook]" wrote:

It would one-off the form because you'd be adding controls to it on the fly.
That's guaranteed to do that. If you insist on this method I can't help you
any further because it's so wrong.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
Hi,

I did consider adding a control to open a separate form , but it has
usability issue.
I also prototyped displaying an alternate form, but it also involves
rebuilding a lot of functionality which comes free in native outlook form
like all the menus (File ....etc), Scheduling Tab etc.
Also considered hiding just appointment tab, and building tab P-2 &
renaming
it. this requires lot of activex controls for date-time, reminder, sound,
label etc etc fields because these are not in custom form toolbox.

So, Prototyping using Subclassing mechanism is atleast worth trying. Why
would a form be one-offed by this?

My requirement is to add few fields on appoitnment from from local
database,
and NOT loose any native functionality at the same time.

Hence, looking for details/codesnippet of implementing subclassing
appointment form.

thanks



  #6  
Old May 18th 07, 10:26 AM posted to microsoft.public.outlook.program_addins
Andrei Smolin
external usenet poster
 
Posts: 9
Default Outlook 2003 - Subclassing Appointment Form

Hi,

Add-in Express allows COM add-ins to embed a custom NET or Borland VCL form
into Outlook Inspector windows. See the second screenshot on
http://www.add-in-express.com/outlook-extension/. It is an animated gif, so
please wait a little to let it show a message window. This feature works for
all Outlook Inspectors (task, appointment, contact, etc) whether they show a
built-in form or a custom one.

In addition, it allows embedding a custom .NET contol onto Office toolbars.
See http://www.add-in-express.com/office-toolbar-controls/.

Please note, the web-site provides a Feedback form (say, on the Support
page). Please use it if you have any questions.

Regards from Belarus,

Andrei Smolin
Add-in Express Team Leader
www.add-in-express.com



"newToOutlookProgramming"
wrote in message
...
----This question is for outlook 2003------

Hi,

(1) Can you help me jot down some cons (actually I need several) for this
approach (subclassing) .

I did prototype the way you suggested (proxy the original Outlook form by
handling NewInspector and not displaying the Outlook form and displaying
an
alternate form), but it looses a lot of default functionality of the
appointment, re-building all of which is a lot of effort.

(2) Alternatively, Is it possible to add a 2 editable textboxes in the
custom-bar in the apppointment inspector via a addin ?

thanks again


"Ken Slovak - [MVP - Outlook]" wrote:

It would one-off the form because you'd be adding controls to it on the
fly.
That's guaranteed to do that. If you insist on this method I can't help
you
any further because it's so wrong.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
Hi,

I did consider adding a control to open a separate form , but it has
usability issue.
I also prototyped displaying an alternate form, but it also involves
rebuilding a lot of functionality which comes free in native outlook
form
like all the menus (File ....etc), Scheduling Tab etc.
Also considered hiding just appointment tab, and building tab P-2 &
renaming
it. this requires lot of activex controls for date-time, reminder,
sound,
label etc etc fields because these are not in custom form toolbox.

So, Prototyping using Subclassing mechanism is atleast worth trying.
Why
would a form be one-offed by this?

My requirement is to add few fields on appoitnment from from local
database,
and NOT loose any native functionality at the same time.

Hence, looking for details/codesnippet of implementing subclassing
appointment form.

thanks





  #7  
Old May 18th 07, 03:55 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 - Subclassing Appointment Form

1. You have to do your own research and decision making about the pros and
cons of any approach.

2. Not using CommandBar controls, no.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"newToOutlookProgramming"
wrote in message
...
----This question is for outlook 2003------

Hi,

(1) Can you help me jot down some cons (actually I need several) for this
approach (subclassing) .

I did prototype the way you suggested (proxy the original Outlook form by
handling NewInspector and not displaying the Outlook form and displaying
an
alternate form), but it looses a lot of default functionality of the
appointment, re-building all of which is a lot of effort.

(2) Alternatively, Is it possible to add a 2 editable textboxes in the
custom-bar in the apppointment inspector via a addin ?

thanks again


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook cannot find the appointment form Darrel Outlook - Using Forms 0 January 16th 07 06:05 PM
Customized Appointment form keeps reverting to default form John E. Outlook - Using Forms 3 December 30th 06 03:57 PM
outlook calendar appointment form [email protected] Outlook - Installation 0 July 3rd 06 10:34 PM
completely customize the appointment form in outlook Charles Walters Outlook - Calandaring 1 April 6th 06 04:12 AM
modify outlook form-appointment form blanc Outlook and VBA 1 March 24th 06 04:20 PM


All times are GMT +1. The time now is 01:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.