Save CDocument programatically
How can I save an CDocument programatically, without to bring him to the top, only if I get a pointer to that document ? I mean if I have several document opened into a MDI app, and if I have a pointer...
View ArticleCDHtmlDialog not working with CSS Media Queries
Hello there, I have a CDHtmlDialog app in which am trying to add a CSS media query in the HTML file as shown below, but it doesn't work. @media (max-width:20em) { table, thead, tbody, tfoot, th, td, tr...
View Articledisplay message at bottom of dialog box
Hi, Is it possible to display a message at the bottom of a dialog box shown in the attachment? If so, how? Thank you very much for the help. Attached Images Â
View ArticleHow to get a list of applied Group Policy Objects?
Does anyone know how to retrieve a list of GPOs that are currently applied to the workstation? This stuff: Attached Images Â
View ArticleCListCtrl::CreateDragImage necesarry for dragging?
Hello, I want to drag an item of a clistctrl in another window. In all the examples I found the function CreateDragImage is mentioned. Do I need it? What do this function? Do it do something with the...
View ArticleCTabView - CView's HWND is NULL
I'm using the Feature Pack CTabView, and I noticed that when the view is added using AddView with the following code CView's HWND is NULL when I try and access each of the CView1,CView2, etc. Code: int...
View ArticleCan anyone help me with writing this program?
I just started with C++. Can anyone help me with this problem. I am completely lost by this question. I am going to a post the picture http://mail.aol.com/38394-114/aol-6/...Inbox&partId=3
View ArticleNeed guidance ...
Hi , I need to edit ,update and display a group of 40 parameters on screen .( 10 parameters per page and use of Arrow Key pad or touch screen clicks to modify value) For that I will need .. Parameter...
View ArticleConfusion with #import and msado
Hi, I have been exploring msado for connecting to an MS SQL server and built a project around it. I am a bit confused though, here's why. I have a line: #import "msado60.tlb" no_namespace rename("EOF",...
View ArticleC++ SMS SDK for Visual Studio - SMS Gateway
After reading this guide (http://ozekisms.com/index.php?owpn=3...de/cpp-sms-api) about sending/receiving SMS messages using a C++ SMS API, I'm thinking about buying an SMS gateway. I just want to ask...
View ArticleResource editor, failed to initialize ActiveX
I'm working on a project which consists of several ocx loaded by one exe. The platform is WinCE. Now I'm on a process to create a new ocx. I do have a copy of those ocx projects in Win32 platform....
View Article[RESOLVED] Resource editor, failed to initialize ActiveX
I'm working on a project which consists of several ocx loaded by one exe. The platform is WinCE. Now I'm on a process to create a new ocx. I do have a copy of those ocx projects in Win32 platform....
View ArticleGetting to the active document
I have a class with base class CFrameWnd. I need to have access to the activedocument as soon as the dialog box starts without any user input. I've tried accessing it from oncreate functions but...
View ArticleCDHtmlDialog : Memory Management
Hey there, I have a MFC app that has a CDHtmlDialog embedded in it. During run time i update the HTML content from the C++ code. There's a IMAGE tag in the content and the SRC for the tag is updated...
View ArticleMFC App & Physical Memory
Hello there, I have a MFC app developed in VS 2012. Inside couple of worker threads it's constantly doing bunch of things. Now if i start the app and then open the Task Manager and look at the Physical...
View Articlemfc dll crash
a MFC dll using ActiveX control, consider the case when the content of Start() is uncommented, and within OpenDialog(), AFX_MANAGE_STATE(AfxGetStaticModuleState( )); is commented. In this case the MFC...
View ArticleDialog Box Busy
Hi, My dialog application uploads a file to a microprocessor system through an RS-232 port. Clicking a button starts uploading. While running the application doesn't accept any button clicks. A...
View ArticleCreate a x64 QT project by default?
Hello, I compiled the source code of QT5.1 to work with Visual Studio 2010. But it always start off with a win32 project, so that I need to change the settings every time. How do I kick start with a...
View ArticleClicking on radio button crashing dialog.
Hi, I have an existing dialog, having activex control, list control, tree control checkbox, button etc.... I added one radio button and executed the program. whenever i am clicking on the radio button,...
View ArticleOpenGL - 2D Movement with respondtokeypress
Hello, I'm trying to implement keyboard controls to move a sphere(Player) with respondtokeypress. Currently, when I press any key my character will move to the right by 0.1. This might be a noobie...
View Article