Image slider for c++ - c++

I have c++ program which display images,
I want to move from one image to another, with nice effect
Do you know any project that can help me?
(For example se the effects inside http://www.youtube.com/watch?v=Z6PR9AM1vsA
much less than that will be acceptable.)
Thanks.
---------------Edit-------------------
I am using windows xp for develpment, it should also run on XP and windows 7
I am using MFC because it's old project wrriten in MFC many years ago

Here's an image viewer with some of the features you're looking for. It didn't get the best reviews, but it may help you get started. Built in VC++/MFC.

I have found a CoverFlow effect project in openGL:
http://blog.csdn.net/beidoustudio/article/details/4090806
I have compiled it and run in MFC.
in file opengl.h has a copyright announcement in simplified chinese:
/========================================================================
应用:3D 桌面 - CoverFlow 项目概述
作者:段传辉
博客: xxxx
开源: 全部源码开放,若有技术疑问,博客留言。
========================================================================/
which says
"
the author name is 段传辉,
blog is xxxx,
it's open sourced, any question please leave message on the blog.
"

Related

Clipboard not found in UWP

I'm currently working on a project consisting of one program which tracks faces (which we got from https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BasicFaceTracking), which is a Windows Universal App and our program, which is supposed to get the number of faces recognized and reacting appropriately.
I thought about copying the number of faces detected by the facetracking program to the clipboard and just reading it from the program.
The problem I have (which might actually be really simple) is that I can't seem to get to the Clipboard Class from within the UWP app.
Using OpenClipboard(NULL) or similar but I always get the error that the IDentifier is not found, no mater which header I include or not...
Can anyone give me a clue what to do? Or maybe a better alternative to transfer that one tiny int from one program to the other?
Thanks in advance.
janine
For UWP applications you should use Clipboard class.
OpenClipboard is an old Win32 API that is only available to desktop applications as mentioned at corresponding MSDN page:
Minimum supported client Windows 2000 Professional [desktop apps only]

How to make a window using C++ on mac

I am looking for a way to use C++ to make a window using Xcode. the reason being I have looked for ways to do this, but they all seem to be using visual basic, and seeing as I have a mac, i can not run this. If it just to difficult to make a window on Xcode, is there another program I can use, because I am hoping to later turn this into a user interface for a program...
~Regards
Mark Calhoun
Well, you may want to look into a framework that Herb Sutter actually mentioned at Going Native, back in 2012: http://www.openframeworks.cc
I've actually experimented with this framework in Xcode 5 and it works as advertised
You should probably start with Apple's "Start Developing Mac Apps Today" tutorial. In particular the Your First Mac App page shows how to create a simple app with a window and some controls, and how to set that up in Xcode.

AviSaveOptions() dialog window is distorted!

I'm using windows XP , hebrew version.
I am trying to save an AVI file using the Video For Windows API in C++, when I run the AviSaveOptions() function, the dialog opens as a thin unclickable strip at the corner of the screen.
Would it have anything to do with the language (Hebrew)? maybe with the vfw driver itself? what might cause a windows dialog window to be distorted/invisible?
thanks
Roey
Can't really answer your question, but I've seen problems with localized versions of AVISaveOptions dialog. The Swedish Windows XP version of it never showed but one codec, although more were installed on the system. Verified on several Swedish XP installations. Other languages we could test didn't show this. Submitted a bug report to MS, and to my great surprise, never heard back.
The AVIFile API in general seems to be spec'ed and and implemented by a bunch of drunken monkeys, so I wouldn't be hugely surprised if they had botched the Hebrew version beyond recognition.
I've seen a similar distortion of the AVISaveOptions dialog, only with Windows 7 Ultimate (English) with the Arabic language pack installed and the display language set to Arabic.
For me the workaround was setting the uiFlags parameter to ICMF_CHOOSE_PREVIEW, check the AVISaveOptions documentation. Not an ideal solution if you don't want the preview functionality on the dialog, but at least it is visible and displayed correctly.

Windows 7 GUI reference

I maintain a large C++ application using Win32 and i want to use some of the new controls introduced in Vista/Windows 7 (New ballon help, command links, status bar notofications.
I have downloaded the Windows User Experience Interaction Guidelines, but i dont find a corresponding API Reference. I know that some of these controls will be not available from core Win32 - so i am looking as well for some source about which controls need which API (WPF or whatever).
Any Links?
The Windows 7 SDK site has a number of downloads and guidance pages which should help point you in the right direction: http://msdn.microsoft.com/en-us/windows/bb980924.aspx
The taskbar/notification API is further documented here: http://msdn.microsoft.com/en-us/library/dd378460(VS.85).aspx
Following Wolfs link and browsing for quite a while, i came up with the following entry point (on microsoft.com), that looks quite valuable to me:
Windows User Interface
and more specifically:
Windows Controls
As far as i can see there is nothing that can NOT be done using core Win32.

Change Windows Mobile 6.1 Theme Programmatically

I am trying to figure out the proper procedure for applying a new tsk based theme file in windows mobile 6.1.
I have tried working off of the page http://www.pocketpcdn.com/articles/changetodaytheme.html But this only changes the background, not the system colors for things such as the top and bottom bars on the screen.
wceload.exe seems to work perfectly for some tsk's and partially for others.
Does anyone know more about tsk files and applying them programmatically in Windows Mobile 6.1?
My application is an open source application, the code is avail;able via read only svn, feel free to check it out # google code
I ended up finding a solution, I don't think it is a universal solution though.
Calling "\Windows\cusTSK.exe \Windows\ThemeName.tsk" changes the top and bottom bars, but does not change all apsects of the theme... so calling wceload.exe and then calling cuTSK.exe in that order seems to be able to change the theme using all tsk files that I have tested.
The cusTSK.exe binary does not exist on the Windows Mobile 6.1 Professional emulator image that you can download from msdn, so I think that this file that exists on custom roms and HTC made devices, that is why I do not think this is a universal solution, but it works for my purposes