CPropertySheet and 120 DPI

I have a property sheet that displays correctly in 96dpi and "Classic Windows". When I switch the theme to "Windows XP", it displays correctly. However, if I set the DPI to 120 (still "Windows XP" theme), the property sheet does not paint correctly. The background color ...

Change in DPI

Till date I've tested sites/designs by changing my monitor resolutions. A new project just came by, and when the tester changed the DPI, the webpage went wrong. It has been made fully in divs and looks good in different resolutions and browsers.Can you please suggest what to do? This is the first ti ...

changes the DPI settings to Normal i.e. 96dpi

From Control panel/Display/Settings tab/Advanced button, users can change the Display DPI setting. The fonts I use in the dialog boxes only shows up nicely when 'Normal Size (96 DPI)' is selected. Higher DPI setting will make the fonts too big for the dialog box. I am not sure what is the best way t ...

Add control to CPropertysheet

my friend in codeguru...can i add any control to PropertySheet? not just button, but any control like static or edit text, add some picture on PropertySheet, combobox, etc. any suggestion? or would you like to give some example? or any good reference for beginer in CPropertysheet? ...

What is the function of "dpi" when it comes to optical mice?

Just wonder what the function of dpi is when it comes to buying optical mice. I understand that more is better but what is the meaning of the dpi specifikation? ...

Ubuntu Using btnx to map mouse dpi buttons (Logitech MX 1100)

folks. From what I've read the btnx package is not technically supported in recent versions of Ubuntu. But I installed it anyway, and it's working just fine in Lubuntu 10.10 on my Logitech MX 100 mouse. The only things I can't seem to map are the DPI buttons. They work fine for changing the DPI sett ...

Change image dpi dynamically

Does anyone know if it's possible to change an image's resolution using the GD library? I would like to be able to upload an image at 300 dpi and make a copy of it at 72 dpi on the fly. Thanks in advance. ...

CPropertyPage/CPropertySheet Issue

I have a strange problem. I have a dialog based program and I Create a modeless CPropertySheet with 5 CPropertypage in it. and in the main Dialog box i have some buttons. when selecting a menu option i change size of the PropertySheet. Now Issues areI align the buttons in the dialog box with the pro ...

LAYOUTRTL in CPropertySheet not doing the job correctly

I am using CProperySheet and CPropertyPage in my application for creating tabbed dialog boxes.For providing the RTL layout, I am using the WS_EX_LAYOUTRTL for Property Sheet and Property Pages both.This is doing well.The Titla bar ( System control and min/max/restore buttons) are now in RTL layout.T ...

Help with maximize and minimize button in CPropertySheet derived object

I have createf a CpropertySheet object and populated with CPropertyPage objects. I was wondering how can I add functionalities of maximizing and minimizing this propertysheet.I could make those button appear using the following::<code>BOOL CMySheet::OnInitDialog() {::SetWindowLong(m_hWnd, GWL_ ...

Modeless CPropertySheet Style WS_CHILD Issue.

I have a class CMyPropertySheet derived from CPropertySheet. I have added a CButton control and a CToolbar on this propertysheet. I have also added command handlers for the button and toolbar buttons. I have created property sheet as modeless propertysheet with WS_CHILD style set. Handler for button ...

Adding CToolbar on CPropertySheet.

I have a class derived from CPropertySheet. I have added a CToolbar to this property sheet. I have repositioned the toolbar at right top corner of the property sheet.However, the property sheet area covers the toolbar and I am able to see only some portion of the toolbar area.How could I bring the T ...

Resize CPropertySheet to fit the FormView

I put a CPropertySheet on a SDI project of formview, I hope the propertysheet can fit the client area of the formview, below is the code:void CFrmtestView::OnInitialUpdate(){CFormView::OnInitialUpdate();GetParentFrame()->RecalcLayout();ResizeParentToFit();m_pPropSheet=new CMyPropertySheet();if(!m ...

Digital camera dpi

I have a question regarding the quality of a digital picture. If I take a picture in 2048 x 1536, when I open in Photoshop it says 72 dpi. This is my question:I want to take this picture and use it in a graphic ad that is going to be printed in a final output of 300 dpi. Do I need to change the reso ...

Using CPropertySheet and CPropertyPage

basically i have program with a button which when clicked launches an opens another dialog. now rather than open the dialog in a new window i want to simply overwrite the existing one. and then when the user clicks back i lod the old one again. (if theres an easier way to do this than the method i'm ...

CPropertySheet::DoModal() returns 0

I have subclassed the MFC class CPropertySheet, added pages, and have called SetWizardMode(). My property sheet appears to function correctly but DoModal() returns 0 on closure. What does this mean? If it is an error, is there a way for me to trace it? ...

Subclassing of Apply Button in CPropertySheet

Hallo,maybe someone have the same problem and knows the solution.I have derived my own class from CPropertySheet.Than i subclass the Apply Button in the OnInitDialog() functionwithm_ButtonApply.SubClassDlgItem(ID_APPLY_NOW,this);I do this to change the look of the Button.under VC2003 this works fine ...

CPropertySheet Insert / Hide page

I am using CTreepropsheetEx which is base on CPropertySheet/PageI want to hide certain tree structure depending on if file directory exist, which can be easily done by checking directory exist before AddPage or use RemovePage[unfortunately ShowWindow(SW_HIDE) doesn't work]...but the problem is I wan ...

CPropertySheet Background Color

I'm using CPropertySheet to add multiple pages on it like a tab in MFC ActiveX control. When i place that control into some client apllication back ground of tab couldnt be changed. It still coming up with control color (Brown) i want to have that as transparent so that it will display what ever my ...

image manipulation dpi

HiI am working on a browser based image upload admin. I want to be able to do the following:Recieve a high resolution image (jpg) from the user - 300 dpi. Resize it and save it, maintaining the 300 dpi - save a copy in 170 dpi, and finaly save a copy in 72 dpi.The 300 and 170 dpi files are for the p ...

CPropertySheet Background Color

I have couple of questions here1. How to change background color of CPropertySheet?2. how to make Label and Checkbox back ground as transparent so that it will take CPropertySheet color? Even though i set "Transparent as True" still it is displaying its control color. ...

CPropertySheet with vertical pages

How can I properly create and use a CPropertySheet object with vertically arranged pages?Here I've uploaded a demo project with source code included. It's just a simple SDI application which has main view class CVerticalPropSheetView (derived from CView) containing property sheet CPropSheetDemo (der ...

400 dpi scanning stales?

Anyone have a problem with there scanner, when they try to scan at 400 dpi the scanner stops, scanning half way through ? I don't understand why this is happening, I also don't understand why the scanner sometimes just doesn't scan and I get an error in XP mentioning it has to warm up. Even then som ...

Image DPI with GD

I am currently using imagesx and imagesy to get the dimensions of an image. How do i also get the DPI (Horizontal and Vertical resolutions) of the image?I have a horrible feeling that this cant be done (because i cant find anywhere that tells you how to do it). However i really need it. ...

DPI scaling problem

To accommodate different user DPI settings, I've just added code to my project which adjusts the width and height of my main dialog and its child windows (controls).I already have code to adjust the dialog (and child windows) for different screen resolutions. My standard for screen resolutions is 10 ...

120 DPI problem.

I have a program which enables a user to draw a simple image ("image" is a set of objects). Then it saves the coordinates of all objects to a file. Then another user can open the file and see the "image".But I found a problem if users have different number of pixels per logical i ...

Debug vs Release, CPropertySheet

I know there are articles out there regarding debug and release issues, but this particular problem is very difficult to debug because I cannot find where it is actually crashing. I have a property sheet which is called like so:void CTaskPlan::OnNew(){if(m_pDocument != NULL)delete m_pDocument;CTaskP ...

Ubuntu Where is the dpi setting stored (user-specific)?

I was messing about with my dpi setting in gconf-editor and accidentally set it so small that I can't see the characters. Catch-22: this means I can't see to reset the dpi, and I'm not familiar enough with it to do it blind.I logged out and into another user desktop and everything there is fine, so ...

XDocHostUIHandler DPI settings

I have a skinned dialog based program with a browser control that ignores the windows DPI settings I can resize the browser control but I have no idea how to ignore the DPI settings for the html page that is loaded inside the browser control is there a XDocHostUIHandler trick that I don’t know. ...

Help with CPropertySheet

Hi, as a continue to my previous topic I used CPropertySheet instead CTabCtrl, but I have the same problem.I'm trying to do "Add new tab":http://img214.imageshack.us/img214/7826/tabyf1.jpgI can't add the same page several times.plz help :( ...

Get the Image dpi in PHP

Get the Image dpi in PHP with out help of ImageMagic. ...

Ubuntu Change gdm dpi

There was in gdm 2.26 a file called custom.conf, where I could edit font dpi settings (or through gdmsetup).Now, with gdm 2.28, it seems i can't modify this file (it doesn't exist and I can't remember its location).Does anyone know a way to change the dpi value in gdm? (not in system>preferences ...

DPI problem is keeping me from using Kubuntu

I've been using Ubuntu for about 6 months now and I'm loving it! My only quarrel is a problem I had in 9.04 that has disappeared but prevents me from using Kubuntu. In Jaunty the fonts on my login screen were much too large. So large, in fact, that it made the scrolling menus unusable. After I would ...

CPropertySheet question

I'm making a dialog window that has a functionality of Property Sheet (but it looks different). The problem I encountered is how to deactivate existing property page and set a new one on its place when another tab is clicked? I tried destroying it and creating it anew, but CPropertyPage class does n ...

Making a Picture 600 DPI

I am trying to make a picutre 600 dpi from a 300 DPI -- what do I need to do? I want to use the picture on my brochures. The picture was downloaded from a free photo site which I can use. I was thinking I could print the picture in color then scan the picuture in at 600 dpi. Is this right? Is there ...

Making CPropertySheet resizable?

I have a class that can make my dialog resizable by inheriting from it but I need to give the IDD of the dialog into the ctor of the CResizableDialog, like so:class COptionsDialog : public CResizingDialog{...// Dialog Data//{{AFX_DATA(VGOptionsDialog)enum { IDD = IDD_OPT_DIALOG };//}}AFX_DATA}// cto ...

CPropertySheet Help

How do we make a class based on CPropertySheet in Visual Studio 2003.In VS 6 , it could be done using "Insert Components and Controls" , but ferom where in VS .NET?TIA ...

Image DPI

Let's say I have an image w/ a size of 1000x1000 (pixels) and a dpi of 72. If I wanted a 'copy' of this image with a higher dpi and lower dimensions sizes how could i go about using the large image to fill in the missing dots-per-inch? The size of this new image doesn't matter...I just want to use t ...

CPropertySheet::Create Access Violation

I have a very very simple dlg, all it has is one property page..BOOL CDlg::OnInitDialog(){CDialog::OnInitDialog();// Set the icon for this dialog. The framework does this automatically// when the application's main window is not a dialogSetIcon(m_hIcon, TRUE);// Set big iconSetIcon(m_hIcon, FALSE);/ ...

Supported file formats with dpi greater than 72?

I've been conversing with Vladdy and he's given a solution regarding elastic layouts and images, which is to give the images an em or percent width and height.I was curious if there are any file formats other than jpeg and gif that are supported by browsers that could use say 150dpi rather than 72dp ...

Fedora 15 Nvidia drivers - DPI settings

I've installed Fedora 15 on my laptop with Nvidia drivers however the native resolution ( 1920x1200) is to small for me. I previously used 1440x900 on Ubuntu but this resolution is not available on Fedora and there is no any other resolution that would fit to my screen (19:10) so I though that I wil ...

CPropertySheet Vs ???

I have a GUI problem where i can not use CpropertySheet and should find proper replacement for that.I have a client-server application in vc++.net which can connect and control upto 6 servers. For each server that the application is connected I display the current file that is being open on the serv ...

CPropertySheet selection

Based on a CComboBox control selection, I want to load CPropertySheet into a dialog-based MFC Application. I have 3 CPropertySheets in my project.Inorder to do this, based on event :OnCbnSelchangeComboBox(), I want to delete existing CPropertySheet control and load the selected one.How can I do this ...

How to create the Object of the CPropertysheet's derived class

I have Created one extension.dll in which I have created one class CTumorSheet with base class as the CPropertySheet.When I try to create an object of the CTumorSheet in the client application asCSTumorSheet m_Tumor = new CSTumorSheet("CSTumorSheet");But I was getting the following linker ...

Cannot figure out how to set my DPI following this guide!!!!!

Okay, so after a long (and I mean long) struggle, I have finally gotten my NVIDIA GeForce4 MX 440-SE to work with my Xubuntu install, I now am having a huge DPI issue. Which you can clearly see here:I found a guide for fixing fonts at this link:Howto: Fix Xfce fonts « Xubuntu Blogthe following went ...

CPropertySheet tab key not working

I've been battling with a problem that's driving me bonkers. I have a modular MDI app (main class is derived from CMDIFrameWnd) that loads different modules in dlls.One of the modules implements its GUI in a CPropertySheet derived class. It displays correctly, but the tab key to go from one control ...

CPropertySheet in a CFormView application

Hello, I'm having trouble creating a CPropertySheet in my CFormView application. (I've also created a sample project to make sure my problem wasn't specific to my application.) The code below is inside one of my message handlers. When it's run I get an access violation, from the stack trace, somewhe ...

Debug error in cpropertysheet::removepage()

I got a debug error in case of removing propertypagei.e. CPropertysheet::Removepage(nPage)i found the error while debugging in the place of sendmessage...code as folloes...if(hwnd != null)sendmessage(PSM_REMOVEPAGE,nPage)Can anybody solve this prob. ...

How to make the CPropertySheet full fill the Dialog's client rect?

well, I added the following codesl, but it can't work!It seems that the CPropertySheet's sizeis as same as the largest CPropertyPage's size!///////////////////////////////////////////CRect rect;GetClinetRect( &rect );m_pSheet->MoveWindow( rect, TRUE );///////////////////////////////////////// ...

Which Quality is better: FastRes 1200 or 600 dpi?

When printing what is the better quality? FastRes 1200 or 600 dpi? ...