473,657 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Click event of PrintPreviewCon trol

How to sence click event on the document when two pages are displayed in PrintPreviewCon trol. How to identify which page is clicked
Moreover can we hookup Vertical scroll bar to Next/Previous Page, i.e. similar to PrintPreviewDia log.
Nov 16 '05 #1
0 1182

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

Similar topics

0
995
by: Chad Chisholm | last post by:
I have the PrintPreviewControl on a form, a custom print options dialog. When the user changes a print option (like gridlines) I set the Document property of the PrintPreviewControl, thereby forcine a redraw of the document. The problem is that when it redraws, the "Generating Preview..." dialog appears. When it closes, my app has lost the focus. Has anyone experienced this? Can anyone address this issue?
0
1312
by: s-galit | last post by:
hi, i created form1 with a printPreviewControl and from form2 im creating an reference to the form1 , but the printPreviewControl is empty thats the code from form2- Dim printPrevCtrl1 As New PrintPreviewControlForm printPrevCtrl1.PrintPreviewControl1.Document = PrintDocument1 whats my mistake ?
3
2548
by: Ramsey Schaffnit | last post by:
Context: I have to print personal information on a preprinted form I've never seen using a printer I've never seen. I want to use a control to overlay the PrintPreview to indicate where I've printed. I want to use a separate control in order to allow the user to drag the field to a different position on the form so it doesn't have to come back for me to change the code. I want to use the PrintPreview because it fits so naturally with...
0
443
by: Sachin | last post by:
How to display vertical scroll bar of PrintPreviewControl explicitly using WndProc. please guide -- sachin
0
1094
by: Chad Chisholm | last post by:
I have the PrintPreviewControl on a dialog, and it's a great way to show the user what effect print settings have in somewhat real time. The only problem is when I set printPreviewControl.Document to a printdocument, a dialog pops up that it's generating the preview and when that goes away, my app has lost focus. I can't seem to find a way around this. Have ANY of you had luck with this?
0
1604
by: Sachin | last post by:
Hi, Is there any way to refresh the scroll bars of PrintPreviewControl? such that when its container form is resized, the control should recalculate its scroll bars thumb locations automatically and refresh itself with new locations. please guide. -- sachin
1
2948
by: Tim | last post by:
Hi, I want to use a PrintPreviewControl instead of the dialog which is too restrictive. I have found a basic tutorial but I have lots of other questions: 1. How do I implement next and previous buttons? 2. How do I change the cursor only when it is over the document? 3. How do I implement zoom buttons? 4. What about showing multiple pages per screen?
1
2461
by: Richard MSL | last post by:
I was using a PrintPreviewDialog, and it previewed the file nicely, I could page through it, etc. But I could not control the printing, so I made my own form with a PrintPreviewControl on it, and buttons to print as I want. The problem is that it no longer supports paging throught the preview, it just stays on the first page. I can write my own PageUp and PageDown buttons, but there does not seem to be a way to tell the...
3
6490
by: IB | last post by:
... Can't get it to work. Whatever I do, I just get "document does not contain any pages". I am setting the document property to a valid document and if I just use the PrintPreviewDialog instead, my page appears fine (on the dialog). Any ideas? Thanks
0
8403
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8833
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8737
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8610
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.