|
You need to convert bmp files to jpeg or you need to create video file?
Can you be more specific store each converted jpeg file to a new folder.?
|
|
|
|
|
Puja,
Set a timer, have a picture control.
name your jpegs as jpeg1, jpeg2..... jpeg1000
for each interval play next form the jpeg name and put it in picture control
it may have movie effect.
Leya
|
|
|
|
|
if you want to create movie with your jpeg files you can use AVIFile Functions
but you need to convert from jpeg to hbitmap and then size output file is big because use from bitmap
also I suggest see MCI Functions maybe it is some helpful to you
|
|
|
|
|
Hi yang_lee
you answer to me or pujareddy ? you send to me your post
and I send my naswer to you but I think pujareddy need to help
|
|
|
|
|
|
Hi
I have to do a lot of calculation after some item change is trigared.
but when multiple events are selected togather the OnItemchanged will be trigared many times.
How to avoid this when bulk of events are selected or unselected?
Is there any message which is send after all the item change messages are send?
is there any way in whic i can call itemchange only once even if multiple events are selected togather
please healp
harish
|
|
|
|
|
You can solve it by setting a timer of a small delay on selection change and processing the change in the timer event. Notice that this timer should be deleted first in the OnTimer.
Eg.
OnSelChange()
{
SetTimer( IDT, 50, 0 );
}
OnTimer(UINT id)
{
if( id == IDT )
{
KillTimer( id );
ProcessSelection();
}
}
- NS -
|
|
|
|
|
Hi,
this seems to be one option but then again there is perfomance problem.
i want to avoid calling the calculation function which is bulky for each items. it will be batter to call it in one struch after all the items ater is changed due to some user interaction.
can you suggest some messages which will be trigared after all the item change messages are send?
thanks in advance
sourabh
|
|
|
|
|
Hi ,
Maybe this will help you :
void YoutClass::OnItemchangedListCtrl(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
if(pNMListView->uNewState)
{
}
With best regards,
Eli
|
|
|
|
|
Hi,
Maybe this will help you:
void YourClass::OnItemchangedListCtrl(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
if(pNMListView->uNewState)
{
}
}
With best regards,
Eli
|
|
|
|
|
hi..
thanks for the suggestions
but there are problems ..i am using the
void YourClass::OnItemchangedListCtrl(NMHDR* pNMHDR, LRESULT* pResult)
function currently to know the change of items state. but here when user select a huge no of items using the shift + end key or using some other key insted of doing it after all items are changed we can do it only one by one.This will afftect the performance . it will be batter if i can track some message which is trigared after all selection changes are domne.
Is there any message which is faired after all selection related changes are done?
please do help ..
sourabh
|
|
|
|
|
hi,
I tried the timer concept.It seems to be working smoothly.I was thinking about the over head. but here this seems to be the only option!
sourabh
|
|
|
|
|
hi,
I tried the timer concept.It seems to be working smoothly.I was thinking about the over head. but here this seems to be the only option!
Tnaku you
sourabh
|
|
|
|
|
I have to get exe file with new name.So i changed my .dsw file int o other name and once again i buid my coding but the exe is created with the old name.How can i change the exe name.(except the rename option of EXE file)
|
|
|
|
|
Anu_Bala wrote: How can i change the exe name.(except the rename option of EXE file)
Goto project settings->Link tab->Output file name->Newfilename.exe
Nibu thomas
Software Developer
|
|
|
|
|
|
renaming you .dsw file will not work..
try this
in the visual c++ ide.
go to Project > Settings.
in the tab control select "Link" tab.
here you can see a section called "Output file name"
change the output file name here. you can give what ever you want...
^-^
@|@
- redCat
|
|
|
|
|
Ya..Its working Thank you
|
|
|
|
|
How to delete buttons from toolbar?
If we select button and press delete. Button will turn white but it is not deleted..
|
|
|
|
|
acemahesh@yahoo.co.in wrote: How to delete buttons from toolbar?
If we select button and press delete. Button will turn white but it is not deleted..
Drag them off the toolbar.
Nibu thomas
Software Developer
|
|
|
|
|
Thank You very much..
Its works.
|
|
|
|
|
I believe when a dialog is created by using CreateDialog(), it creates a modeless dialog.
Now, which message pump does this modeless dialog use? If it has its own implementation of a message pump then it would be modal, isn't it?
Any answers?
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
Or, does a Modeless dialog run on a separate thread or process?
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
The modeless dialog doesn't run in a separate thread. It will act like a window created with CreateWindowEx(), so it usually uses the message loop that the rest of your application is using.
This means you shouldn't have any lengthy processing in your modeless dialog, as both the dialog and the parent window won't be able to handle messages eg. paint the window.
|
|
|
|
|
Thanks a lot for the answer.
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|