View recieving notification of document being saved

I have a standard document/view application.
Is there a way to have the view notified just before the document gets
saved?

Thanks!
- Pete


0
AirPete
2/21/2004 10:59:05 PM
vc.mfc 33608 articles. 0 followers. Follow

2 Replies
338 Views

Similar Articles

[PageSpeed] 30

You can use UpdateAllViews() or send a message inside the virtual function
OnSaveDocument()

Normand

Then use UpdateAllViews() or get the
"AirPete" <x@x.x> a �crit dans le message de news:
ZoRZb.3036$yZ1.1944@newsread2.news.pas.earthlink.net...
> I have a standard document/view application.
> Is there a way to have the view notified just before the document gets
> saved?
>
> Thanks!
> - Pete
>
>


0
NoEmail9920 (149)
2/22/2004 12:03:23 PM
Thanks!

- Pete

Normand wrote:
> You can use UpdateAllViews() or send a message inside the virtual
> function OnSaveDocument()
>
> Normand
>
> Then use UpdateAllViews() or get the
> "AirPete" <x@x.x> a �crit dans le message de news:
> ZoRZb.3036$yZ1.1944@newsread2.news.pas.earthlink.net...
>> I have a standard document/view application.
>> Is there a way to have the view notified just before the document
>> gets saved?
>>
>> Thanks!
>> - Pete



0
AirPete
2/22/2004 11:24:24 PM
Reply:

Similar Artilces:

copy linked documents (2 files)
I can't quite figure out how to solve this... so here goes... I'm making a report template in Word that has several links to an Exce spreadsheet. When finished, I would like to be able to reuse thi combination (ie: make copies of both files) while maintaining th links. However, if I copy the Excel file, it is not linked t anything; if I copy the Word file, it maintains the links the origina Excel. Does anyone know how to solve this?? Thanks for your help -- Message posted from http://www.ExcelForum.com FYI - I tried recording a macro to update the links automatically, bu that d...

F12 does not bring up Save As in Word 2003
When I hit F12 in word, a box pops up saying no fuction assigned to this button. When I tried to go under the Tools menu, then Customize, there is a Keyboard button. In there, there's a reset button to restore them all to defaults, but it is grayed out like I'm already set to the defaults. Does that mean something else is overriding my Function keys and Word is ok? Seems easier and more efficient to make a toolbar button to do Save As. TOOLS>CUSTOMIZE>Command Tab, and scroll down the File selectins to Save As. Hold the ALT Key and drag Save As to the location on...

Mail Messages HTML Viewing
I am using win XP and Office 2002. When I receive messages with html format i can only see the url's and not the pictures. I have checked all the settings, I have the box in options/mail format/internet settings/html format checked to receive pictures and still just the url. I runn norton and zone alarm but can't see any settings in these that would restrict the downloading of pictures. Any thoughts? What are your IE settings? --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. Due to the Swen virus, all e-mails sent to my actual...

the webpage you are viewing is trying to close the window
We have an internal web interface for our helpdesk system. When we finish working with a "call" it attempts to unlock the call and we get the message as above. More often than not, we need to say YES to the message. Any ideas how to get it to not appear? -- Keithmeister Hi, Which security zone does the page/popup load into? Hint: Is IE configured to automatically detect sites in the Intranet zone? What 'call' software are you using? Have you attempted to contact the vendor? Regards. "Keithmeister" <Keithmeister@discussions.microsoft.co...

Using custom document peroperties to creat views in Public Folders
How do I use custom document properties to create views in public folders? I came across an article for Outlook 2000. I tried doing this for Outlook 2007 but I am unable to. Please assist. The article I came across was http://office.microsoft.com/en-us/publisher/HA010549541033.aspx However this only appears to work for 2000 not 2007. Hopefully someone can help. "Whoadieson" wrote: > How do I use custom document properties to create views in public folders? I > came across an article for Outlook 2000. I tried doing this for Outlook 2007 > but I am unable t...

m_pDocument Doc/View unique id for each view
I'm using the standard mfc mainform with a doc/view. While I'm in the view portion I need to track the actions taken individually and separately for each view. So when when I click on view one I track that in a separate place than view two. I there a unique id or index for each view? Something like m_pDocument->ID? Thank you, Joshua <jtfaulk@eudoramail.com> wrote in message news:1111085780.370621.117620@f14g2000cwb.googlegroups.com... > I'm using the standard mfc mainform with a doc/view. While I'm in the > view portion I need to track the actions taken...

How do I remove the paragraph markers on Word document?
I have all paragraph markers on one of my Word doc and don't know how to get rid of the markers. Can anyone help me? Use Ctrl+Shft+8 or the ¶ icon (on the Home ribbon or the Standard toolbar) to toggle the view of these. See: http://www.word.mvps.org/FAQs/Formatting/NonPrintChars.htm to find out what these are and what they do and also how important they are in controlling your documents. Hope this helps DeanH "LONG" wrote: > I have all paragraph markers on one of my Word doc and don't know how to get > rid of the markers. Can anyone help m...

View Webpage
How can i view a HTML page in Excel, it should also be automatically update in 60 seconds. Is this possible? Please note that, that page contains images That webpage is on our intranet website. Regards, Murtaza Though I am not certain this is exactly what you are looking for, try the following: Data, Import External Data, then New Web Query... In the dialog box that appears, browse the site. You will notice that at certain areas of the page you will see an arrow. Just click the ones that you want to import. Click import. Select the cell you want to import the data into and click OK. Hope...

Forms in two differant views
Is there a way to use the same sub form showing two differant views within the same Main Form. For example: Can I show on one tab a datasheet view and on the other a regular form view. -- Rose Hi Rose, Create a button on your form and under the "OnClick" event put 'Me.DefaultView = Datasheet Alternatively you could use a checkbox If me.checkbox1 = 0 then Me.DefaultView = 2 ' Datasheet Else Me.DefaultView = 0 'Single Form End if me.repaint This should flick the form between datasheet and form views. HTH, Nick. "Rose" wrote: > Is there a way to use t...

Forcing a view to be the active view
Hello! I have an SDI application that has a splitter window with two views. The first view is an CFormView and the second is a CView. I want the CFormView to always be the Active view. Even if the user selects the CView. How do I accomplish this? // Anders Anders Eriksson wrote: > Hello! > > I have an SDI application that has a splitter window with two views. The > first view is an CFormView and the second is a CView. I want the CFormView > to always be the Active view. Even if the user selects the CView. > > How do I accomplish this? > > // Anders I'd ...

Saving Images In Excel #2
I have a web page opened with Excel (actually it is streamed to the user from an web application). It is any way to make Excel to save the images along with the *.xls file and not only the image paths? Any help is highly apreciated. ...

Coustom view
Hi, I have been given a new work station and for some reason my custom view is not highlighted and is not working. I don't think it is as add-in feature. Excel heip has not been of any (help). Does someone know how to enable this feature? Thanks, Michael Michael Custom Views will be disabled if you have more than one sheet selected. Do you see [group] behind the filename on title bar? If so, right-click on a tab and "ungroup sheets". Gord Dibben MS Excel MVP On Wed, 11 Jan 2006 06:28:03 -0800, "Michael" <Michael@discussions.microsoft.com> wrote: >...

OL98 start up view
I recently had to reinstall my WInXP and now my OL98 has a couple of issues I'd like to fix. I've set up my mail account (with POP3 and SMTP servers) but when I try to use it I get a message saying that internet mail is not registered properly. What do I need to do to fix this? Also, I used to start up OL98 so that the first view was not Outlook Today. How do I change that? I guess I can't remember how to do things that I only do once every three years. Thanks for any suggestions! John Keith kd0gd@juno.com John Keith kd0gd@juno.com You might want to have a look at this MS KB ...

Changing View -- All Folders
Using Outlook 2007, Windows XP Pro. I have dozens of mail folders in Outllook. I would like to change the view (to the right of the folder tree) on all folders. There seems to be no apparent way to do this. Any ideas? Thanks, Ross See http://www.outlook-tips.net/howto/grouping.htm -- Diane Poremsky [MVP - Outlook] Outlook Tips: http://www.outlook-tips.net/ Outlook & Exchange Solutions Center: http://www.slipstick.com Outlook Tips by email: dailytips-subscribe-request@lists.outlooktips.net EMO - a weekly newsletter about Outlook and Exchange: EMO-NEWSLETTER-SUBSCRIBE-REQUEST@PEACH.EAS...

Selecting a folder to save xml to...
I have the following code that works fine in Excel 2003 and I am looking for something similar that will produce the same result but for Excel 2000 can anyone help? If xmlfolder = "" Then MsgBox "Select folder for the XML file", vbCritical With Application.FileDialog(msoFileDialogFolderPicker) .Title = "SELECT FOLDER" .AllowMultiSelect = False ' Folder selected If .Show = -1 Then xmlfolder = .SelectedItems.Item(1) & "\" End If Regards Jamie Take a look he...

Un Save a Excel Worksheet
I accidently saved a worksheet on a previous worksheet with the same file name. Can I restore the worksheet, or un-save the worksheet to the earlier worksheet. No. The file has been overwritten. -- Regards, Tom Ogilvy Gregory Pearson <anonymous@discussions.microsoft.com> wrote in message news:07ea01c39384$2e7fa7f0$a401280a@phx.gbl... > I accidently saved a worksheet on a previous worksheet > with the same file name. Can I restore the worksheet, or > un-save the worksheet to the earlier worksheet. ...

Password Prompt When I Close an Excel Document I Opened in a Web Browser
Hi, Each time I close an excel document it prompts me a username and a password. I found an article (Q324328) http://support.microsoft.com/default.aspx?kbid=324328 in Microsoft support web site about the same issue with Word. I tried to apply the same solution but it didnt work. The document is on our Intranet. If i enter a userID who has permission to write to the folder where th doc is stored it works. Internet guest account has list content right. Any ideas? Thanks Lenny ...

Calendar View?
Outlook 2000. This seems like a dumb question but in the monthly calendar view how do I get it to show a regular standard Sun-Sat week with equal weight for each day (Sat & Sun the same size boxes as the rest of the week).. Thanks... Bob right click on the calendar and choose Other settings. Uncheck the option to compress weekend days. -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide) Author, Google and Other Search Engines (Visual QuickStart Guide) Outlook Tips: http://www.outlook-tips.ne...

Save Attachments Question
We use Office Pro 2003. I have a user who opens word documents that are attachments directly from an open e:mail. she then does a "save-as" from the document editor, WORD2003, and has been saving these docs in: C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLK1A9 which appears to be a system default. I have tried to go back to this OLK1A9 folder with admin rights, having setup the workstation so nothing is "hidden" and the folder cannot be found. I have shown the user how to properly perform file\save attachments but the issue here i...

Modifying Activities associated view 10-01-04
I have tried the unsuported fix involving: http://crmserver/tools/viewEditor/viewManager.aspx?id= 00000000-0000-0000-00AA-000010001899 The view opens fine but I am unable to save as is or make changes... I get the message "the Item Id is invalid." Please help Make sure you include the braces around the view ID GUID. http://crmserver/tools/viewEditor/viewManager.aspx?id={00000000-0000-0000-00AA-000010001899} CR "Sean T." <anonymous@discussions.microsoft.com> wrote in message news:161701c4a7bb$d3779910$3501280a@phx.gbl: > I have tried the unsuported fix inv...

Custom Fields in Views.. 04-22-10
Good Afternoon, We are working with a MOPS 2007 and WSS 3.0 SP2 (no c.u.'s) environment, and have created several enterprise custom fields at the task level. We can use and see them just fine in the schedules in Project Professional 2007, but when we try to add them to the 'my assignments' and 'assignment details' views, the custom data does not show up....any thoughts? Thanks! and have a great spring! Submitted via EggHeadCafe - Software Developer Portal of Choice Get Silverlight 4 Installed: Tips and Tricks http://www.eggheadcafe.com/tutorials/aspnet/05910e...

Error while saving file in arabic folder
hi, I have problem when i try to save excel file in arabic folder i am using office 2000 and also i have install multi language office support. also there is no problem when i save file in english name folder, can any one know what the issue. Thank in advance With warm Regards, Ali ...

How can I set View as HTML as the default view...
I am trying to use a news group in which the dominant form of message is based on HTML. But my Outlook news reader forces me to manually turn each message into HTML which is a pain. It must have changed with some security update. I want my old settings back! -- Henry Stock, Network Administrator onProject.com 3 Wing Drive Cedar Knolls, NJ 07927-1006 Henry Stock <hstock@onproject.com> wrote: > I am trying to use a news group in which the dominant form of message > is based on HTML. But my Outlook news reader forces me to manually > turn each message into HTML which is a...

Filmstrip view
I have some windows that allow the filmstrip view and others that do not. I have researched this and what I found was: 1. Select "View" - "Customize This Folder". 2. The folder properties multi-tabbed dialog box will appear. Underneath "Use this folder type as a template" choose "Pictures" or "Photo Album" as desired. 3. Click "OK" to close the dialog box. The "View" - "Filmstrip" option should now be available. I have followed the instructions, but I still don't get the option for the fi...

views?
haven't install any thing lately that i can remember but when i bring outlook up it and go in to e-mail to send one there is no send button or attachment icon any more at all? and when i look under view there is only custom there and no other options? how do i get back my icons and view options? thanks! ...