2195 byte By
Ashmon at 2007-11-20 9:34:17
Hello all,I took some sample code from the msdn website which plays back a video file. I try to compile the file and i get the folowing error:VideoStreaming fatal error C1084: Cannot read include file: 'c:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\edevdefs.h':...
I am trying to get the background color for a static control from the parent dialog. The static control is subclassed and in the OnEraseBkgnd function of (static control) i send the WM_CTLCOLORSTATIC message to the parent dialog. The parent dialog is a simple dialog, but in return for this message a...
566 byte By
dkmr at 2007-11-20 9:39:42
Hello,I'd like to know if it's somehow possible to obtain a transparency effect for a control (let's say a button for example) placed over a video playing window in WinAPI/MFC without using advanced graphics programming (e.g DirectX, OpenGL).To be more specific the first example that...
6171 byte By
love247 at 2007-11-20 9:40:03
hi everybody,first of all im working on c++ openGL.. i am thinking of drawing a closed flower of 3 ellipses, then rotate the ellipses , and then scale the elipses (to show that it is blooming)here is a picture of what i have in mind, of course it will be in 2D http://i92.photobucket.com/albums/l37/lo...
If I launch my DirectX program, full-screen initializes. If I alt tab out of it, it alt-tabs as normal. However, if I then maximize it so it has the focus of my computer again and then alt-tab for the second time, the window doesn't minimize. The taskbar shows up but the program doesn't mi...
Hi, I'm trying to draw to an another applications client area and it goes Ok only in a small region in the upper corner of the window. If it's an area that updates more quickly then it disappears. I tried updating more quickly but it doesn't solve the problem. The code is on of the fo...
I've been working on this for a couple days now. I'm really looking for the best way to render. Nothing too complicated but something that is fast, reliable, and powerful. I've seen many websites and about each one shows a different way. I've probably gone through about 5 differe...
953 byte By
rajadb at 2007-11-20 9:45:52
Hi,I'm trying to write a digital TV application on XP / Visual Studio 2005 / using microsoft TV technology . To use the Video ActiveX control I've added msvidctl.dll to Class View - Add class - MFC class from active X control. This has generated a cpp wrapper class MSVidCtl over the active...
Hi allI have written a simple application to create an enhanced meta file that uses DrawDriverString method to render a text however it doesn't take any parameter as the starting position but still it shows me the text at a particular place in the user space which itconsiders as the origin.My q...
976 byte By
p_497 at 2007-11-20 9:48:03
Dear ATL C++ / graphics people,I already searched the forums, but found no answer, just questions tothis topic. So I'll try my luck and post my question:I am searching for an easy way to load a sequence of jpeg files (whichform a video) into memory and play them like a video. I furthermorewant...
Hi,Is it possible to find out if the display screen has changed without having to capture screen shots and diff'ing them? I want to optimize my screen capture application by only capturing when something has changed on the screen and sleeping the rest of the time (or polling for change status)....
Hi,<br/>Just as WM_DISPLAYCHANGE is sent when changing resolution/color depth for my primary desktop, what messages are generated when changing resolution of the extended desktop? Also if any WM_ message is sent when desktop is extended onto a secondary monitor??<br/>Thanks,<br/>Zeeshan
Hey everyone. I'm having this problem when I resize my Direct3D app in windowed mode.If I contract my window (as in make the size less), it contracts perfectly.However, if I expand it, as I'm expanding the window, it attempts to redraw the app, resulting in very ugly effects such as this:h...
288 byte By
Donotalo at 2007-11-20 9:52:23
I already know C/C++ and want to learn OpenGL. I have Visual Studio 2005 compiler. To start all I need is the OpenGL SDK. I have visited opengl.org and checked OpenGL SDK there but I could not find any link to download the SDK. Can anyone give me location from where I can get OpenGL SDK?
Hi,I am using Graphics::DrawString method to draw text on my MFC dialog based application (with GDI+ support). DrawString method takes only a WCHAR* as its first input parameter. My project settings, Character set is set to "Use Multi-Byte Character Set" and this cannot be changed. I have a CString...
758 byte By
xkwooo at 2007-11-20 9:55:27
Hi,How is the logics behind matrix concatenation? Most CG books I've read say the matrix concatenation take a right to left order, so the rule is V = M * V0 = Mn * Mn-1 * ... * M0 * V0. And it also means the earlier the matrix be applied, the further be it from the equal-sign.But one book about...
1998 byte By
shootrz at 2007-11-20 9:56:05
HiI've made a little application that connect to a camera server that send throught sockets JFIF images composed of a vertical line of squares of 16x16px. In the header of the socket i can retreive the number of squares in the image and the position of each. The thing is that the drawing is kin...
906 byte By
an_raj at 2007-11-20 9:56:39
I'm using a windows PCL-XL system printer driver with plug-in. I have drawn a watermark text on the blank page. After that when I'm trying to write some text on that page , watermark is become in-visible for the whole rectangle where my text is drawn and visible out side the text region bu...
I am currently working on a GLSL vertex shader to put smooth-skinned animation calculations on the gpu. I had posted about a float to int conversion in GLSL slowing me down from over 660+ fps to less than 20, but it turns out that that is not what is happening.It seems that when I use an integer in...
458 byte By
shootrz at 2007-11-20 10:00:29
Hi,Does anybody know how i can create a crgn from a line.Th thing is that i want the CRgn to be 1px bigger than the line.ex :0,0 ._________________________| ------------ | 26,3it have to works with diagonals and the starting point of the line can be any of the 2 points.I store this information i...
271 byte By
Feoggou at 2007-11-20 10:05:35
hello.<br/>can anybody tell me what's the difference between MAKELPARAM and MAKEWPARAM (besides one converts to lParam and the other to wParam).<br/>is there a difference of value returned?<br/>and... can you tell me how lParam and wParam are declared? (DWORD?)
2864 byte By
DaAvange at 2007-11-20 10:05:48
Hello,I don't know if the title is right, be here is what I did so far and what I'm tring to do.I subclassing the common control progress bar class so I can change its appearance and it worked really well, LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { PAINT...
418 byte By
cayido at 2007-11-20 10:06:25
I found a problem when I was coding a chess game.To prevent winking,I used memory dC.However,when I use memory DC,I can't load more than one image.I just want to load a table picture and the some chessman pictures to one memory DC,but after I loaded table image,I could not load Second pictute...
Iam writing Direct Show Application in C#.NET.<br/>I want to split the AVI File in to n number of pieces.<br/>How to proceed?<br/>As iam a beginner to DirectShow
454 byte By
Donotalo at 2007-11-20 10:06:59
I'm interested in learning OpenGL. I know C/C++ and Win32 API. Can anyone give me suggestion on good book along with author name so that I can start? My knowledge about computer graphics and OpenGL is zero. So please provide book names which starts from the most basic material and successively...
Hey friends.. CDC::Arc/CDC::Pie are not supported in Windows CE..I have tried to draw Arc using simple for loop and x = cos(Angle) * radius...and then CDC::SetPixel used to Glow it...but there is Aliasing problem...Is there any efficient Algorith to Draw Arc/PieThanks in advance.....
I am trying to convert a WMF file to an EMF? I am using the SetWinMetaFileBits() GDI API.It needs a METAFILEPICT structure to be passed which asks for the mapping mode?<br/>How can i find out which maping mode to use from the WMF file?Somebody Please help.
7 byte By
Alex F at 2007-11-20 10:09:13
Solved.
3142 byte By
sukiminna at 2007-11-20 10:10:35
im a newbie..Lately im interested in coding a webcam related program.i decide to go with Windows Image Acquisition (WIA)Below is the tutorial article about WIA that i found in MSDN...i have tried it ...and..sumhow when i complile it and these are the errors that showed up..-------Configuration: emmm...
418 byte By
Chirieac at 2007-11-20 10:10:45
Hello! I want to capture the desktop on every 300 milliseconds. Is a faster way than with BitBlt function?Ex: When capturing, the windows, when they are moved, are moving slow (now they are in one place and then in another place: they don't move smhootley).I also realised that the mouse cursor...
I'm having a problem with GDI+ displaying some JPEG images that I created using Picasa 3.0. Here an example image. http://family.canitzdomain.com/images/07_05_06_Alex733.JPGThe image says it's 640x480.When I do the following...Bitmap bitmap( L"07_05_06_Alex733.jpg" );unsigned int x = bitma...
Visit www.planeshift.itGame FeaturesThe following list represents some of the features of the final product.*12 playable races with unique traits!*Unlimited professions through a skill system,*Original magic system with six Ways of magic,*Hundreds of spells,*Numerous huge worlds to explore,*A great...
hey Friends..<br/>CDC::Arc(...) is not supported in eVC++ (WinCE).<br/>Please give me some hint to draw Arc and Pie without using MFC methods<br/>thanks ...
Hi,While reading some arabic gdiplustext(which follow right to left writing mode) using DrawDriverString,there were cases in which the glyphs are mentioned in opposite order and ONLY when APIFlag is NOT set i.e it is 0.When it is set to 1,glyphs appear in emf files in correct order.For all other lan...
Let me try to ask my question a different way.Both of these JPEG files are 640x480. http://family.canitzdomain.com/images/07_05_06_Alex733.JPG http://family.canitzdomain.com/images/06_06_06_Alex274.JPGWhy does the 733 one render larger than the other using the following code snippet? Bitmap bm1( L...
Is there any way to know from the given emf file that it's type is emfplusdual or emfplusonly?In cases where, for the same GDI operation,GDI calls are also present along with GDI+ call,is there anyay to avoid parsing one of the call(GDI or GDI+).The bigger issue is :Is it possible to have a EMF...
2127 byte By
mvadu at 2007-11-20 10:15:37
Hi, for one of my windows i need "see through" back ground. I am not using layered windows (nor i like to ujse it), because i need to have the window enabled for user actions, but should look as if it is not there.So I thought of getting periodic screeshots of the screenDC and using it to bitblt ove...
1720 byte By
dark23 at 2007-11-20 10:17:11
hello,i can capture 1600x1200 video stream pictures from my webcam, but i need the video stream rotate with 270 or a potrait picture like1200x1600... i tried many days to do this with filters like :{ VideoProcAmp_Brightness, VideoProcAmp_Contrast, VideoProcAmp_Hue, VideoProcAmp_Saturation, VideoProc...
:) Hi all, <br/>I'm new to GDI+ programming, <br/>I'm having a PPC2003 device and i'm using eVC 4 for programming. <br/>How can i write a GDI+ program using eVC4? :confused: <br/>Can anyone help me pls? <br/>Cheers, :) <br/>Sujith
1059 byte By
silentray at 2007-11-20 10:17:23
Hi all,I am writing a video capturing application using directshow. One of the functionalities is to allow users to adjust brightness, contrast and white balance through the user interface. The video input device I am using is a Logitech webcam which supports DirectShow.I have done brightness and co...
226 byte By
swizig at 2007-11-20 10:20:39
I have used CtabCtrl in creating tab. The tabs are not seen, but (approximately) if clicked on the tabs, respective dialog's are displayed. Could anyone help me in this? What might be wrong or how can this be over come???
Alright, now i just started graphics programming, and i know most the basics of c++. I want to ask, should i start out in SDL, or DIRECTx? I've seen a directx tutorial before, and BOY, DID IT LOOK COMPLICATED. So...please no bais opinions!
1492 byte By
anders2 at 2007-11-20 10:21:19
Hi allI'm trying to play an avi file from memory using MMIO. Noticed the following Microsoft article: http://support.microsoft.com/kb/q155360/Followed the instructions in the article above, but when I try to play the avi file from memory an error message is returned saying that the file can no...
hi everybody. I've read the same problem here over and over but not specifically for C++ pure, not visual. I suppose at least. By the by: I use dev-C++ environment and though I think I have followed the directions shown on other posts I keep getting only a black square when I try to save the cl...
713 byte By
UKSaiyan at 2007-11-20 10:28:44
Hi all,I'm new to directX and I'm having a problem. I'm using visual studio 2003 and directx 7's ddraw.The problem is... when I type inDirectDrawCreate(...)The parameter's info box doesn't show up like it would do with say a window's function, SetPixel(...)(but if...
1370 byte By
Craggsey at 2007-11-20 10:29:50
Hi there!I hope this is the right place to ask this, but I am running out of time and am absolutely desperate.I am traversing a 3d mesh of triangles using intersections tests. Thanks to the general crappiness of the mesh, this is not giving me a straight line (i am forming the curve of the nose from...
309 byte By
jss3426 at 2007-11-20 10:31:14
I have an image template with a specified image region location and i have a bitmap.i want to render a final output image which is a composite of the template and my bitmap. the final output is of jpg of dimensions 600x600.how would i go about this? any directions or links would be useful...
1122 byte By
mlegge at 2007-11-20 10:40:10
HiWe are using DirectDraw in windowed mode. We have just recently noticed something with our application. If there is an "always on top" window (such as task manager) on the top of the client area of our app, then our Direct Draw routine draws on that window as well as on our own client area. Afte...
418 byte By
coser at 2007-11-20 10:40:27
Hello,I'm implementing a CAD application and I'd like to improve my zoom tools (zoom in/out, pam, scroll,...) to look like AutoCAD - dynamic zoom.Currently I erase the background and redraw the visible drawing elements each time the zoom changes. Does anyone have an insight on how to imple...
I am currently using the method described in the following article to obtain Frustum planes: http://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf I use this for culling against a perspective matrix. However, it is sometimes necessary for me to cull against an Orthographic matrix as well.Can...