Questions tagged [sdi]

Questions concerning implementation of Single-Document Interface (SDI) may have this tag.

90 questions
0
votes
0 answers

Sling Dynamic Include in AEM

I am trying the same implementation as in http://www.cognifide.com/our-blogs/cq/sling-dynamic-include/ After the SDI OSGi configuration and dispatcher configs are done, the include tag --#include virtual="/path/to/resource" is requested with…
Sriram
  • 13
  • 5
0
votes
1 answer

drawing square net in SDI MFC

how can i draw square net ( like chess) in SDI MFC ? and how to determine the position for putting some more shape in specific position ? i have to use (Moveto) and (Lineto) and draw them 1 by 1 ? or using bitmap ? or easier way ? i tried in this…
Emad mohseny
  • 13
  • 1
  • 6
0
votes
1 answer

MFC SDI read from an INI and update view string while changing attributes

First time post, so forgive any improper etiquette i may bring. My title briefly describes the problem i have. I have a school project where I start with a MFC application with a single document view and i need to display just a simple text onto my…
Steven V
  • 65
  • 5
0
votes
2 answers

Multiple document types in SDI application (or just a capability of MDI?)

I have a (maybe ridiculous) question about MFC - can an SDI application support multiple document types? (Along with showing the "choose-document" dialogue when creating a new document, but that's not absolutely necessary and I could handle it…
tomascz
  • 235
  • 1
  • 13
0
votes
1 answer

How do i customize my buttons?

I'm new to MFC, How can I customize buttons in such a way that It should be painted in background. Should be able to place a image on painted area and Should add text on painted area. After browsing the internet I got to know that we need to…
0
votes
1 answer

Modal dialog becomes non-modal

I have MFC SDI application, in it modal dialog is displayed. During that second dialog can be displayed, which is also modal. Second dialog is doing some job and auto-closed by dlg->PostMessage(WM_CLOSE); All that works but after second dialog is…
demonplus
  • 5,613
  • 12
  • 49
  • 68
0
votes
1 answer

How to use MFC ListCtrl in SDI

I am really a beginner with MFC. I just want a few guidelines on how to use a ListCtrl in an SDI application. For example, getting input from the user and displaying it in the listctrl when a button is clicked. Please guide me.
0
votes
4 answers

How to reduce simple cpp application size? (compiled with RAD Studio 2010 cpp builder)

I am using rad studio 2010 cpp builder. I've created a new SDI application, added a TCppWebBrowser control and a simple button that onclick trigger the .navigate for the TCppWebBrowser, I compiled it and I got a 1.20mb file, I was expecting less…
peterg
  • 137
  • 1
  • 1
  • 6
0
votes
1 answer

MFC: How can I initialise CTabbedPane tabs (dialogs) using information from the Document in a SDI?

I'm fairly new to MFC and would like to create an SDI application that has a pane of tabs always embedded on the right of the window with a view left of it. In my app I have a calculation core, with variables that are changed in the tabs with edit…
0
votes
0 answers

Configuring SDI input/output for passthru input card->gpu->output card

I'm using the Quadro SDI SDK along with my Quadro K6000+ SDI Input & output cards and have converted the included cudaDVP SDK sample to send raw image buffers directly to the GPU from the SDI input card. In the next step I display the data via…
Jimmy Pettersson
  • 465
  • 4
  • 13
0
votes
2 answers

RePaint area (region) in sdi view MFC

I want to ask you one question about SDI MFC application. How can I repaint some area (region) on the view in SDI MFC application but without repaint complete view?
0
votes
1 answer

MFC SDI Application, how to change caption of menu item?

The whole day I am trying to solve this simple issue, but without any success. I found a lot of hints in internet, but seems, that none of them is valid for my problem. My issue is quite simple: I want to change the caption of a menue item while…
NBGer
  • 1
0
votes
1 answer

Menu items are being enabled or disabled by default. Why?

I have some legacy code and for some reason, menu items are being enabled or disabled on launch. My question is, how? Is there any way to do this without calling the EnableMenuItem() function? Is there a way for MFC to do the opposite from what…
Adrian
  • 10,246
  • 4
  • 44
  • 110
0
votes
2 answers

MFC SDI project want to call GetDocument() function in a view

Now I create a totally new SDI project the view provides a function: GetDocument(), it helps me to get the current document's data However, When I call the GetDocument() function,VC tells me some error occurs:Debug Assertion Failed the following is…
moure
  • 1
0
votes
2 answers

Docking CFormView in SDI

I have a SDI app[MFC] with two spitter which divides the view into 3 views. Where i have implemented CFormview which has CListCtrl/CtreeCtrl in all 3 views. What i want is to make the control fit to the screen in the application. The Ctrls doesn't…
user1071321
  • 61
  • 2
  • 10