CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Mulligan

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,180

    Float point number simple arithmetic.

    Having such a simple `c` program:


    #include <stdio.h>
    #include <float.h>

    int main( void ) {
    float fl1 = 0.1;

    // Set precision to 24 bits
  2. Creating a popup window above an another.

    I have a `handle` to third party window (not created by me, retrieved using the `FindWindow` function). Now I'd kile to create a small popup style window that will ALWAYS be laid down ovev/on top of...
  3. Replies
    1
    Views
    1,954

    Designing a game loop.

    I'm developing a simple Win game. Here is my 2 similar implementations of the game loop (in c++):

    approach #1:


    while (Msg.message != WM_QUIT) {

    if (PeekMessage(&Msg, NULL, 0,...
  4. Replies
    1
    Views
    4,144

    JavaScript Screen.width property discrepancy.

    I'm trying following simple JavaScript code:


    alert(screen.width);

    On my Samsung A5(2017) smartphone. The specs for my device screen is `1080 x 1920` pixels while the alert reports me only...
  5. Replies
    1
    Views
    2,571

    Keyboard input and TranslateMessage

    As the doc (https://msdn.microsoft.com/pl-pl/library/windows/desktop/gg153546(v=vs.85).aspx) about the windows keyboard input says



    My question is how doues the `TranslateMessage` function...
  6. Replies
    1
    Views
    1,627

    Alt key virtual codes

    Inspecting the `Right Alt` key messages using `Microsoft Spy++` returns the following:


    WM_KEYDOWN nVirtKey:VK_CONTROL
    WM_KEYDOWN nVirtKey:VK_MENU
    WM_SYSKEYUP nVirtKey:VK_CONTROL
    WM_KEYUP...
  7. Replies
    0
    Views
    3,044

    Conditional regex

    Having following regex:


    (?(?<=\AA)a|e)/g

    and test string:


    Aa
    Ae
  8. Replies
    4
    Views
    12,448

    xHTML Re: Iframe loading and processing

    So the answer is that it's run in the one main thread?
  9. Replies
    4
    Views
    12,448

    xHTML Iframe loading and processing

    Having following code


    <iframe id="myframe" src="..."></iframe>

    <script>
    document.getElementById('myframe').onload = function() {
    alert('myframe is loaded');
    };
    </script>
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured