Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

ov

@ov
About
Posts
43
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Video not visible in Widows MP
    O ov

    Try to reinstall video codec(s). It seems that system is unable to find it. --- Realtime 3D screensavers

    System Admin help question

  • How to remove this error
    O ov

    try to define this constructor (or include it's .cpp-file in your project) --- Realtime 3D screensavers

    C / C++ / MFC help tutorial question

  • concatenation
    O ov

    There are many ways. It depends of type of your string. For null-terminated const char * you can use this one: char res[128]; const char *str = "Result is: "; int num = 10; sprintf(res, "%s%d", str, num); --- Realtime 3D screensavers

    C / C++ / MFC tutorial

  • MIME types & application
    O ov

    This haven't helped. This checkbox reappeared on next download. And setting "Confirm open on download" in (Any Folder)->Tools menu->Folder Options->File Types->(My File)->Advanced haven't helped too. Win2k, IE 6.0 With the best regards, Vitaly.

    C / C++ / MFC question html

  • MIME types & application
    O ov

    I have an application that working with files named like <name>.ext (ext is my extension) I can run it this way: myapp.exe <file.ext> But when I try to open this file from HTML page (<a href="a.ext">file</a> ) IE asks me about open or save. How can I have it to stop do this? I've registered my MIME-type in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents but it have no effect. With the best regards, Vitaly.

    C / C++ / MFC question html

  • ShellExecuteEx()
    O ov

    quotes will not help... absolute path will, but i don't know it. the reason I'm using ShellExecuteEx() is cause I need to start different apps knows only their names not paths. winword, notepad etc... With the best regards, Vitaly.

    C / C++ / MFC question help

  • ShellExecuteEx()
    O ov

    How can I start application, which name is starting from "home" using ShellExecuteEx()? If I try to run "homesite5" it brings me an IE window with "homesite5" as an url. It does the same for all names, starting from "home". It isn't depends of such file existance and availability via %PATH%. And as I found, "Start"->"Run..." acts the same way. Just type "home" there... p.s. I'm using win2k sp2. win98 seems to have the same bug (or feature?) With the best regards, Vitaly.

    C / C++ / MFC question help

  • Windows CE & ListView
    O ov

    How can I change the height of the row in report-mode of the ListView? The simple way with WM_MEASUREITEM is not working. Or, maybe, there is another way in WinCE to display a list of my own items? I need something like TODAY screen, but with the same row's height for all rows and with scrolling. With the best regards, Vitaly.

    C / C++ / MFC question

  • asp.net
    O ov

    Is it possible to use asp.net with only .net sdk beta2 installed or I need to install the VC7? Currently I have .net sdk beta 2 installed and the compiler reports an error in .aspx file near the Inherits="something" line. With the best regards, Vitaly.

    .NET (Core and Framework) csharp asp-net beta-testing help question

  • bug or feature?
    O ov

    really.... well, I think I've missed a bit :) With the best regards, Vitaly.

    The Lounge help tutorial question

  • bug or feature?
    O ov

    try to compile and run this code:

    #include < stdio.h >
    int main(void) {
    printf("12\t\b\b");
    printf("12\t\b\b");
    return 0;
    }

    you should run it on the new console (from explorer for example) don't forget to save your data before it :) With the best regards, Vitaly.

    The Lounge help tutorial question

  • dumb people..
    O ov

    Yes, the numbers have been different. The real numbers are: UA93, UA175, AA11, АА77. There is no city name in flight numbers (or there are two names - 6 letters). There are no flight companies having single letter prefix. All are have 2 or 3 letters-code. (The only company is Roan Air (Zambia) - Q3, but it haven't flight number beginning with 3). There is no company having QQ code from the 1999. So... It's a fake... With the best regards, Vitaly.

    The Lounge question

  • Nostradamus
    O ov

    but I've found something interesting in 10:96 With the best regards, Vitaly.

    The Lounge

  • Nostradamus
    O ov

    Well, here in Russia many sites have translated this text into russian. My friend have looked the french-version of his cartens and haven't found anything about "two brothers". With the best regards, Vitaly.

    The Lounge

  • Nostradamus
    O ov

    Do you really think, that Nostradamus have used modern english in 1654? :) With the best regards, Vitaly.

    The Lounge

  • LockWindowUpdate with CHtmlView
    O ov

    I need to prevent my control's drawing while it is loading the page. I'm doing it this way: In OnBeforeNavigate2():

    LockWindowUpdate();

    In OnDocumentComplete2():

    UnlockWindowUpdate();

    And in OnEraseBkgnd():

    return true;

    That works fine except the one moment: after the page was loaded - my desktop is redrawing. I don't understand why is it do this... It haven't web-style. The running ie doesn't redrawing it's page, but desktop is flickering. How can I suppress it? With the best regards, Vitaly.

    C / C++ / MFC question graphics

  • modeless dialog in wtl
    O ov

    Yes, I've though about this way. The problem is that I will have many windows like this. Different windows, different classes... So I must implement some kind of window manager for them. But I still hope that delete this; will work somewhere :) With the best regards, Vitaly.

    C / C++ / MFC question c++ help

  • modeless dialog in wtl
    O ov

    I don't think that DestroyWindow() is enough. Cause my destructor is not called in such case. With the best regards, Vitaly.

    C / C++ / MFC question c++ help

  • modeless dialog in wtl
    O ov

    I've read the same in MFC documentation. And I've thought that atl works the same way but it doesn't :( I don't like idea with WM_USER-based message but it seems to be the only way to solve this problem. With the best regards, Vitaly.

    C / C++ / MFC question c++ help

  • modeless dialog in wtl
    O ov

    I have a CDialogImpl-based class, implementing a modeless dialog. My application can have a number of such dialogs, so I'm using this code to create one:

    CMyDialog *pDlg = new CMyDialog;
    pDlg->Create(NULL);
    pDlg->ShowWindow(SW_SHOW);

    When user will press the close-button in the upper right corner of my dialog - I must destroy the object and the window, so I'm using DestroyWindow(); in WM_CLOSE handler and delete this; in OnFinalMessage(). The problem is that the program falls with ASSERT(pThis->m_pCurrentMsg == &msg) in atlwin.h, line 2281. Btw, if I close the main application - these dialogs are destroying without any ASSERTs... How can I delete the class after the window have been destroyed? With the best regards, Vitaly.

    C / C++ / MFC question c++ help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups