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
Prev Previous Post   Next Post Next
  #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.



 




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:54 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.