Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1100779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:56:03+00:00 2026-05-17T00:56:03+00:00

This page says you need to call PrintSetupDlg , but this code PAGESETUPDLG printDialog;

  • 0

This page says you need to call PrintSetupDlg, but this code

PAGESETUPDLG printDialog;
ZeroMemory(&printDialog, sizeof(printDialog));
printDialog.lStructSize = sizeof(printDialog);
printDialog.hwndOwner = hwnd; //or = NULL

PageSetupDlg(&printDialog);

freezes the program on the call to PageSetupDlg – it becomes unresponsive, and I need to stop the process.

How do I print in Windows CE? (using C++ in a DirectX app, CE 6.0)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:56:03+00:00Added an answer on May 17, 2026 at 12:56 am

    Turns out that, for some crazy reason, dialog boxes only get drawn to the original front buffer, even if that buffer has been swapped and the original back buffer is now the front buffer (being shown on the screen).

    The solution was to keep track of how many times the buffer has been swapped, and swap it again if the number of swaps was odd (which causes the original front buffer to always be the current front-buffer when the dialog is shown).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to install PEAR on a shared server & was reading this page:
Reference: http://hc.apache.org/httpcomponents-client-ga/tutorial/html/httpagent.html#d4e1261 This page says the following code will setup HttpClient to automatically handle
As the title says Google Chrome opens window.open(someurl) just fine...but page/window with clicked link
The way this page is laid out, all of the data is loaded at
Well this probably isn't specific to rails, but in my rails app, I have
I am aware of this question , but the original poster accepted a solution
Chrome web store help page says that to install an app or an extension
I'm running the following code on a file that has been uploaded to this
I've been working with JavaScript and i need to call a function from another
Lots of words below, sorry - but I wanted to explain this situation well:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.